
function barEvt(yData,xData,ele,bottom){
    var barOption = {
        animation: false,
        tooltip: {
            trigger: 'axis',
          //  formatter: '{a1}<br />{b1} : {c1}',
            axisPointer: {
                type: 'shadow',
            },
            backgroundColor: 'rgba(9,89,124,0.8)',
            borderWidth: 1,
            borderColor: 'rgba(6,214,224,0.5)',
            textStyle: {
                color: '#4ff2f4'
            }
        },
        grid: {
           top:'8%',
		        left: '3%',
		        right: '3%',
		        bottom: '3%',
		        containLabel: true
        },
        xAxis: {
            type: 'category',
            splitLine:{    //grid区域分隔线
                show:false,
                lineStyle: {
                    width:1,
                    type:"solid",
                    color:"#2a3f7e"
                }
            },
            axisLabel:{
                show: true,
                color:'#c0d4da',
                interval:false,
                rotate : 25,
            },
            axisTick: {
                show: true,   //刻度线
                color:"#c0d4da"
            },
            axisLine:{
                show: true,   //坐标轴轴线
                lineStyle: {
                    width:1,
                    color:"#c0d4da"
                }
            },
            data: yData
        },
        yAxis : {
            splitLine:{    //grid区域分隔线
                show:true,
                lineStyle: {
                    width:1,
                    type:"solid",
                    color:"#2a3f7e"
                }
            },
            axisTick: {
                show: true,   //刻度线
                color:'#c0d4da'
            },
            axisLine: {
                show: true ,  //坐标轴轴线
                lineStyle: {
                    width:1,
                    color:"#c0d4da"
                }
            },
            axisLabel: {  //坐标轴标签
                show: true
            },
        },
        series: [{
            name: '风险设备数',
            type: 'bar',
            barGap: '-100%',
            barCategoryGap:'70%',
            data: xData,
            itemStyle: {
                normal: {
                    color: '#0ea4e3',
//                  barBorderRadius:35,
                }
            },
        }]
    };
    var barChart = echarts.init(document.getElementById(ele))
    barChart.setOption(barOption);
    window.addEventListener("resize", function () {
        barChart.resize();
    });
}


function allData(data){
	var allNum=0
	for(var a=0;a<data.length;a++){
		allNum+=data[a].value
	}
	return allNum
}

var time=["time1","time2"]
function rightPie(pieData,ele,num,color,flag){
	window.clearInterval(time[flag])
    var pie3Opt = {
        color:color,
        backgroundColor: 'transparent',
        tooltip : {
            trigger: 'item',
            //formatter: "{a} <br/>{b} : {c} ({d}%)",
            formatter:function(param){
                if(param.name){
                	return  '<div>'+param.name+'</div>' +
			        '<div>'+param.value+'  ('+param.percent+'%)</div>'
                }
    		},
            position:'right'
        },
        series: [{
            name: '',
            type: 'pie',
            radius: ['50%', '70%'],
            center: ['45%', '45%'],
            hoverAnimation: true,
            label: {
                normal: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    show: false,
                    textStyle: {
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                }
            },
            data: pieData
        },{
            name: '',
            type: 'pie',
            clockWise: true,
            hoverAnimation: false,
            animationType: 'scale',
            radius: [200, 200],
            center: ['45%', '43%'],
            label: {
                normal: {
                    position: 'center'
                }
            },
            data: [{
                value: 0,
                label: {
                    normal: {
                        //formatter: '38',
                        textStyle: {
                            color: '#20fd07',
                            fontSize: 25,
                            fontWeight: 'bold'
                        }
                    }
                }
            }, {
                tooltip: {
                    show: false
                },
                label: {
                    normal: {
                        //formatter: '\n',
                        textStyle: {
                            color: '#bbeaf9',
                            fontSize: 12
                        }
                    }
                }
            }]
        }]
    };

    var pie3Chart = echarts.init(document.getElementById(ele))
    pie3Chart.setOption(pie3Opt)
    window.addEventListener("resize", function () {
        pie3Chart.resize();
    });
    var pieIndex = 0
    time[flag]=window.setInterval(function(){
    	if (pieIndex >num-1){
            pieIndex = 0
        }
        for (var i = 0;i <num;i++){
            if (i != pieIndex){
                pie3Opt.series[0].data[i]['selected'] = false;
            }else{
                pie3Opt.series[0].data[i]['selected'] = true;
            }
        }
        pie3Opt.series[1].data[0].label.normal.formatter = (pie3Opt.series[0].data[pieIndex].value/allData(pieData)*100).toFixed(1) + "%"
        //pie3Opt.series[1].data[0].label.normal.formatter=parseInt(Math.random()*99) + "%"
        pie3Opt.series[1].data[1].label.normal.formatter = "" + pie3Opt.series[0].data[pieIndex].name
        pie3Chart.setOption(pie3Opt)
        pieIndex++
    },1000)
}

var  color1 = ["#00a9e1","#0046af","#360293","#560081","#af0058","#ff8700", "#09a7e2", "#93dd6e","#fce24f","#b8ff2e","#09e24b","#09e2cb"]
var pieData=[
    {name:'DTU数据中心',value:25051},
    {name:'网关',value:892},
    {name:'可编程逻辑控制器',value:999},
    {name:'操作员站',value:218},
    {name:'企业资源计划系统',value:143},
    {name:'工程师站',value:117},
    {name:'集散控制系统',value:150},
    {name:'OPC',value:62},
    {name:'数据采集监控系统',value:87},
    {name:'远程终端单元',value:84},
]
rightPie(pieData,"gyPie1",10,color1,0)

var data1st=[
    {name:'高危',value:2307},
    {name:'中危',value:2897},
    {name:'低危',value:470}
]
var color2=["red","#ff8d00","yellow"]
rightPie(data1st,"gyPie3",3,color2,1)


var yData1=['宏电','西门子','和利时','摩莎','罗克韦尔','Tridium','汉科泰软件','思爱普','才茂通信','施耐德']
var xData1=[897,419,364,289,256,177,164,141,128,114]
barEvt(yData1,xData1,"gyBar3","60")

var yData=['福建','广东','北京','浙江','江苏','山东','上海','四川','湖北','广西']
var xData=[4340,4059,2533,1729,1575,1178,1150,1110,938,938]
barEvt(yData,xData,"gyBar1","40")

$(".sb_pie li").click(function(){
    $(this).addClass("active").siblings().removeClass("active")
    var index=$(this).index();
    var selectValue = $('.cityChange').val();
    if(index==1){
        $("#gyBar2").show()
        $("#gyPie1").hide()
        var yData = null;
        var xData = null;
        if(selectValue == '工业控制设备'){
        	yData=['ddp-udp','ddp-tcp','hart-ip','http','hollysys-lk','cspv4','modbus','siemens-license','fox','s7']
            xData=[23644,1407,636,379,239,196,180,172,146,146]
        }else if(selectValue == '视频监控设备'){
        	yData=['rtsp','http','snmp','dahua-dvr','onvif','https','ftp','wdbrpc','telnet','sip']
            xData=[280247,67056,77163,55645,17330,5402,1387,1602,2034,788]
        }
        barEvt(yData,xData,"gyBar2","60")
    }else if(index==0){
        $("#gyBar2").hide()
        $("#gyPie1").show()
        var yData = null;
        var xData = null;
        if(selectValue == '工业控制设备'){
        	var color1 = ["#00a9e1","#0046af","#360293","#560081","#af0058","#ff8700", "#09a7e2", "#93dd6e","#fce24f","#b8ff2e","#09e24b","#09e2cb"]
            var pieData=[
            	{name:'DTU数据中心',value:29470},
            	{name:'可编程逻辑控制器',value:3301},
            	{name:'网关',value:2232},
            	{name:'操作员站',value:644},
            	{name:'数据采集监控系统',value:379},
            	{name:'远程终端单元',value:306},
            	{name:'集散控制系统',value:292},
            	{name:'企业资源计划系统',value:214},
            	{name:'工程师站',value:197},
            	{name:'人机交互系统',value:144}
            ]
            rightPie(pieData,"gyPie1",10,color1,0);
        }else if(selectValue == '视频监控设备'){
        	var color1 = ["#00a9e1","#0046af","#360293"]
            var pieData1=[
            	{name:'网络摄像机',value:344173},
            	{name:'数字视频录像机',value:63410},
            	{name:'网络硬盘录像机',value:15476}
            ]
            rightPie(pieData1,"gyPie1",3,color1,0);
        }
    }
})

var yData=['缓冲区溢出','信息泄露','权限许可和访问控制','授权问题','跨站脚本','其他','SQL注入','路径遍历','代码注入','输入验证']
var xData=[1902,610,355,273,244,239,227,225,211,190]
barEvt(yData,xData,"gyRander","70")

//地图
var geoCoordMap={}
var mapFeatures = echarts.getMap('china').geoJson.features;
mapFeatures.forEach(function(v) {
    // 地区名称
    var name = v.properties.name;
    // 地区经纬度
    geoCoordMap[name] = v.properties.cp;
});
var mapData = [
	{name:'福建',value:4340},
	{name:'广东',value:4059},
	{name:'北京',value:2533},
	{name:'浙江',value:1729},
	{name:'江苏',value:1575},
	{name:'山东',value:1178},
	{name:'上海',value:1150},
	{name:'四川',value:1110},
	{name:'湖北',value:938},
	{name:'广西',value:938},
	{name:'河北',value:848},
	{name:'河南',value:786},
	{name:'辽宁',value:751},
	{name:'安徽',value:732},
	{name:'黑龙江',value:646},
	{name:'天津',value:633},
	{name:'吉林',value:440},
	{name:'山西',value:435},
	{name:'内蒙古',value:419},
	{name:'湖南',value:415},
	{name:'陕西',value:402},
	{name:'江西',value:398},
	{name:'云南',value:386},
	{name:'重庆',value:321},
	{name:'新疆',value:261},
	{name:'贵州',value:201},
	{name:'甘肃',value:142},
	{name:'宁夏',value:119},
	{name:'海南',value:93 },
	{name:'青海',value:81 },
	{name:'西藏',value:38 }
];

for(var i=0;i<mapData.length;i++){
	for(key in geoCoordMap){
		if(key==mapData[i].name){
			mapData[i].value=geoCoordMap[key].concat(mapData[i].value)
		}
	}
}

var optionMap = {
    tooltip: {
        trigger: 'item',
        formatter: function(params) {
            return '<div>'+params.name+'</div>'+
            '<div>IP数量：'+params.data.value[2]+'</div>';
        }
    },
    /*visualMap: {
        seriesIndex: 0,
        min: 0,
        max: 2557,
        itemHeight:'70',
        left: '10%',
        bottom: '10%',
        inRange: {
            //color: ['#0ef0e6','#076ba6']
    		color: ['#3AE9F2','#FFBA3F']
        },
        calculable: true,
        textStyle:{
            color:'#fff'
        }
    },*/
    geo: {
			show: true,
			zoom: 1.2,
			roam: false,
			map: 'china',
			itemStyle: {
				normal: {
					show: false,
					borderColor: '#285ac6',
					borderWidth: 1,
					areaColor: '#123082',
					shadowBlur: 3,
					shadowColor: '#081435',
					shadowOffsetX: -4,
					shadowOffsetY: 8
				},
				emphasis: {
					areaColor: '#fce24f',
					borderColor: '#fce24f'
				}
			}
		},
    series: [{
			type: 'map',
			zoom: 1.2,
			mapType: 'china',
			roam: false,
			label: {
				normal: {
					show: false,
					textStyle: {
						color: '#fff'
					}
				},
				emphasis: {
					show: true,
					textStyle: {
						color: '#fff'
					}
				}
			},
			itemStyle: {
				normal: {
					show: false,
					borderColor: '#3770ea',
					borderWidth: 1,
					areaColor: '#0f2d87'
				},
				emphasis: {
					areaColor: '#2a56bd',
					borderColor: '#2a56bd'
				}
			},
			data: mapData
		},{
			name: 'Top 5',
			type: 'effectScatter',
			zlevel: 1,
			coordinateSystem: 'geo',
			symbolSize: function(val) {
				return val[2] / 200+5
			},
			showEffectOn: 'render',
			rippleEffect: {
				brushType: 'stroke'
			},
			hoverAnimation: true,
			label: {
				normal: {
					//            formatter: '{b}',
					position: 'right',
					show: false
				}
			},
			itemStyle: {
				normal: {
					color: '#f4e925',
					shadowBlur: 10,
					shadowColor: '#333'
				}
			},
			//    data: convertData(mapData)
			data: mapData.sort(function(a,b){
				return b.value[2]-a.value[2]
			}).slice(0,5)
		},{
			name: 'Top 5',
			type: 'scatter',
			zlevel: 1,
			coordinateSystem: 'geo',
			symbolSize: function(val) {
				//        return val*4+8;
				return val[2] / 200 +5 
			},
			showEffectOn: 'render',
			rippleEffect: {
				brushType: 'stroke'
			},
			hoverAnimation: true,
			label: {
				normal: {
					//            formatter: '{b}',
					position: 'right',
					show: false
				}
			},
			itemStyle: {
				normal: {
					color: '#f4e925',
					shadowBlur: 10,
					shadowColor: '#333'
				}
			},
			//    data: convertData(mapData)
			data: mapData.sort(function(a,b){
				return b.value[2]-a.value[2]
			}).slice(5)
		}]
};
var mapChart = echarts.init(document.getElementById('webChina'))
mapChart.setOption(optionMap)
window.addEventListener("resize", function () {
    mapChart.resize();
});

var timer
var type="1"
window.clearInterval(timer)
	/******************************v定时器*********************************/
var iNum=0
function cityShow() {
	window.clearInterval(timer2)
	for(var i=0;i<mapData.length;i++){
			mapData[i].selected=false;
	}
	mapData[iNum].selected=true;
	mapChart.setOption(optionMap);
	mapListEvt(mapData[iNum].name)
	iNum++;
	if(iNum>mapData.length-1){
		iNum=0;
	}
}
cityShow()
timer=window.setInterval(cityShow,2000)
	/******************************v定时器*********************************/
	//点击取消定时器

var count=0
var timer2
mapChart.on('click', function (evt) {
	//console.log(mapData)
    window.clearInterval(timer)
    window.clearInterval(timer2)
    for(var i=0;i<mapData.length;i++){
        mapData[i].selected=false;
	}
    for(var j=0;j<mapData.length;j++){
        if(evt.name==mapData[j].name){
            mapData[j].selected=true;
        }
    }
    if(evt.name != ''){
    	mapChart.setOption(optionMap);
        mapListEvt(evt.name)
        //开启计时定时器
        function addCount(){
            count++
            if(count>10){
                count=0
                window.clearInterval(timer2)
                timer=window.setInterval(cityShow,2000)
            }
        }
        timer2=window.setInterval(addCount,1000)
    }
})

function mapListEvt(name){
	//console.log(type)
	var data = null;
	if(type=="1"){
		if(name == '台湾'){
	    	data = [
	    		['2018-02-28 23:56:08','基隆','PLC','ftp','210.240.3.12',21,'台湾'],
	    		['2018-03-01 01:01:47','台湾','GATEWAY','http','220.135.137.231',80,'台湾'],
	    		['2018-02-28 22:24:23','台湾','PLC','ethernetip','211.21.157.142',44818,'台湾'],
	    		['2018-02-28 22:57:58','台湾','OWS','fox','210.71.163.124',1911,'台湾'],
	    		['2018-02-28 22:57:58','屏东县','OWS','fox','210.71.163.85',1911,'台湾'],
	    		['2018-02-28 22:46:58','台湾','PLC','http','211.23.115.214',80,'台湾'],
	    		['2018-02-28 22:46:58','台湾','PLC','http','211.23.115.118',80,'台湾'],
	    	];
	    }else if(name == '北京'){
	        data = [
	        	['2018-01-06 09:51:28','北京','DSC','ddp-udp','119.254.70.123',4000,'北京'],
	        	['2018-01-06 10:10:14','北京','DSC','ddp-udp','119.254.70.123',7001,'北京'],
	        	['2018-01-08 09:06:43','北京','PLC','cspv4','106.75.142.31',9000,'北京'],
	        	['2017-12-27 05:19:40','北京','GATEWAY','hart-ip','1.119.5.227',10001,'北京'],
	        	['2018-01-06 17:55:14','北京','PLC','s7','111.198.71.106',102,'北京'],
	        	['2018-01-01 05:10:00','北京','OWS','fox','218.241.163.162',1911,'北京'],
	        	['2018-01-19 03:22:08','北京','DSC','ddp-udp','111.230.16.156',50123,'北京'],
	        	['2018-01-03 04:04:49','北京','DSC','ddp-udp','106.3.41.50',51960,'北京'],
	        	['2018-01-19 13:30:20','北京','DCS','hollysys-macs','111.230.172.225',8000,'北京'],
	        	['2018-01-19 15:51:42','北京','GATEWAY','hart-ip','111.231.190.150',10001,'北京']
	        ]
		}else if(name == '浙江'){
	        data = [ 
	        	['2018-01-20 22:18:40','丽水','DSC','ddp-tcp','60.190.122.133',20000,'浙江'],
	        	['2018-01-17 21:01:30','浙江','DSC','ddp-udp','121.40.48.192 ',60001,'浙江'],
	        	['2018-01-21 11:20:50','温州','DSC','ddp-tcp','112.16.22.205 ',5005,'浙江'],
	        	['2018-01-17 06:07:09','杭州','DSC','ddp-udp','121.40.225.227',51960,'浙江'],
	        	['2018-01-17 06:07:09','浙江','DSC','ddp-udp','121.40.190.217',55555,'浙江'],
	        	['2018-01-20 17:17:01','浙江','DSC','ddp-udp','121.43.146.133',60000,'浙江'],
	        	['2018-01-20 16:12:31','浙江','DSC','ddp-udp','121.41.53.213',55555,'浙江'],
	        	['2018-01-20 02:16:47','杭州','ERP','http','115.193.15.111 ',8001,'浙江'],
	        	['2017-12-21 21:26:46','宁波','PLC','cspv4','122.227.134.122',6000,'浙江'],
	        	['2018-01-10 12:23:26','浙江','DSC','ddp-udp','114.215.241.210',55555,'浙江']
	        ]
	    }else if(name == '广东'){
			data = [
				['2018-01-10 04:21:24','广州','DSC','ddp-udp','14.23.93.115',61697,'广东'],
				['2018-01-11 03:14:20','广州','DSC','ddp-udp','219.135.158.11',5002 ,'广东'],
				['2018-01-11 03:22:38','东莞','DSC','ddp-udp','218.16.61.239',61697,'广东'],
				['2018-01-11 04:13:50','中山','DSC','ddp-tcp','59.33.44.136 ',20000,'广东'],
				['2018-01-10 10:59:58','中山','DSC','ddp-udp','183.58.24.230',5002 ,'广东'],
				['2018-01-12 02:12:47','江门','DSC','ddp-udp','59.37.161.180',5002 ,'广东'],
				['2018-01-11 06:45:52','佛山','ERP','http','116.6.52.29',80   ,'广东'],
				['2018-01-13 06:32:39','广州','DSC','ddp-udp','125.88.22.163',5002 ,'广东'],
				['2018-01-10 08:06:04','广东','DSC','ddp-udp','223.252.168.59',65000,'广东'],
				['2018-01-12 21:08:17','深圳','DSC','ddp-udp','202.105.151.140',60000,'广东'],
				['2018-01-12 19:56:09','珠海','DSC','ddp-udp','113.106.121.99',55555,'广东'],
				['2018-01-11 17:56:22','东莞','GATEWAY','hart-ip','183.63.218.215',10001,'广东'],
				['2018-01-11 18:30:08','广州','DSC','ddp-udp','182.61.30.144',60000,'广东'],
				['2018-01-11 19:38:06','广州','GATEWAY','hart-ip','219.137.34.136',10001,'广东']
			];
		}else if(name == '山东'){
			data = [
				['2018-01-10 11:55:46','潍坊','DSC','ddp-tcp','221.1.73.60',5002,'山东'],
				['2018-01-09 15:00:19','济南','GATEWAY','hart-ip','60.216.101.89',10001,'山东'],
				['2018-01-08 11:25:55','泰安','PLC','modbus ','123.135.64.207',502,'山东'],
				['2018-01-09 17:52:47','青岛','DSC','ddp-udp','27.223.172.35',55555,'山东'],
				['2018-01-09 13:07:37','潍坊','DSC','ddp-udp','123.168.202.34',5007,'山东'],
				['2018-01-09 18:51:48','青岛','DSC','ddp-tcp','112.226.64.107',5002,'山东'],
				['2018-01-09 13:50:20','烟台','DSC','ddp-udp','223.99.172.165',5002,'山东'],
				['2018-01-20 16:19:35','青岛','GATEWAY','hart-ip','121.42.175.79',10001,'山东'],
				['2018-01-08 06:05:30','聊城','DSC','ddp-tcp','58.58.227.134',5000,'山东'],
				['2018-01-07 16:42:35','青岛','DSC','ddp-tcp','58.56.174.9',5002,'山东'],
				['2018-01-09 17:29:43','聊城','DSC','ddp-tcp','221.2.221.146',8001,'山东'],
				['2017-12-14 16:15:27','济宁','DSC','ddp-udp','60.211.181.38',55555,'山东'],
				['2018-01-08 20:21:56','济南','DSC','ddp-tcp','119.164.215.142',7000,'山东'],
				['2018-01-08 08:35:58','泰安','PLC','modbus ','27.201.234.233',502,'山东']
			];
		}else if(name == '香港'){
			data = [
				['2017-12-27 18:33:29','香港特别行政区','EWS','http','202.181.133.26',8443,'香港特别行政区'],
				['2017-12-26 11:15:28','香港特别行政区','OWS','fox','221.126.12.141',8001,'香港特别行政区'],
				['2017-12-25 22:25:33','香港特别行政区','GATEWAY','hart-ip','119.236.48.103',10001,'香港特别行政区'],
				['2017-12-26 19:02:46','香港特别行政区','HMI','http','61.93.207.30',80,'香港特别行政区'],
				['2018-03-02 00:59:21','香港特别行政区','ERP','http','134.159.203.39',8000,'香港特别行政区'],
				['2018-03-02 01:37:56','香港特别行政区','DSC','ddp-udp','123.1.151.89',55555,'香港特别行政区'],
				['2018-01-30 10:24:38','香港特别行政区','DSC','ddp-udp','175.176.252.8',50123,'香港特别行政区'],
				['2018-01-29 13:13:25','香港特别行政区','DSC','ddp-udp','202.9.89.122',65000,'香港特别行政区']
			]
		}else if (name == '黑龙江'){
			data = [
				['2018-01-01 06:58:48','双鸭山 ','PLC','modbus','111.42.239.101',502 ,'黑龙江'],
				['2017-12-27 07:45:47','齐齐哈尔','DSC','ddp-udp','111.42.132.61 ',5001,'黑龙江'],
				['2018-01-28 06:11:59','鸡西','DSC','ddp-udp','123.206.32.209',51960,'黑龙江'],
				['2018-01-29 10:33:01','伊春','GATEWAY','moxa-nport','113.1.52.50',4800,'黑龙江'],
				['2018-02-05 00:25:55','牡丹江','PLC','ethernetip-udp','221.206.153.114',44818,'黑龙江'],
				['2018-02-05 00:25:55','牡丹江','PLC','ethernetip-udp','221.206.153.122',44818,'黑龙江'],
				['2018-02-04 13:52:30','牡丹江','PLC','ethernetip','221.206.153.119',44818,'黑龙江'],
				['2018-02-03 10:14:44','鸡西','DSC','ddp-udp','60.15.96.130',5002,'黑龙江'],
				['2018-02-04 05:48:51','绥化','PLC','modbus','222.32.33.71',502,'黑龙江'],
				['2018-02-04 05:48:51','绥化','PLC','modbus','222.32.33.92',502,'黑龙江']
			];
		}else if (name == '江苏'){
			data = [
				['2018-01-15 01:24:10','扬州','DSC','ddp-udp','222.189.209.153',7000,'江苏'],
				['2018-01-14 15:16:41','无锡','RTU','iec-104','61.177.113.19',2404,'江苏'],
				['2018-01-14 22:49:07','无锡','DSC','ddp-udp','122.192.67.44',5002,'江苏'],
				['2018-01-14 20:53:29','扬州','DSC','ddp-udp','58.220.253.58',5003,'江苏'],
				['2018-01-14 20:53:29','扬州','DSC','ddp-udp','58.220.253.58',5004,'江苏'],
				['2018-01-15 08:42:46','苏州','OPC','opc-ua','121.228.179.190',4840,'江苏'],
				['2018-01-15 23:20:52','苏州','GATEWAY','moxa-nport','58.211.38.202',4800,'江苏'],
				['2018-01-13 20:32:38','苏州','PLC','snmp','153.37.177.206',161,'江苏'],
				['2018-01-14 05:34:52','常州','PLC','modbus','58.216.144.74',3000,'江苏']
			];
		}else if (name == '辽宁'){
			data = [
				['2017-12-25 15:14:15','大连','DSC','ddp-tcp','218.24.163.121',5002,'辽宁'],
			    ['2017-12-31 09:33:20','鞍山','PLC','modbus','182.207.24.68 ',502 ,'辽宁'],
			    ['2017-12-24 20:06:59','鞍山','OWS','fox','222.33.100.165',5000,'辽宁'],
			    ['2017-12-24 20:06:59','鞍山','OWS','fox','222.33.105.139',5000,'辽宁'],
			    ['2017-12-24 22:16:59','铁岭','GATEWAY','http','42.7.134.167 ',80,'辽宁'],
			    ['2017-12-25 14:05:19','沈阳','DSC','ddp-tcp','211.137.12.254',6002,'辽宁'],
			    ['2017-12-27 04:35:03','大连','OWS','fox','222.63.134.10',5000,'辽宁'],
			    ['2017-12-25 02:30:09','营口','PLC','cspv4','59.45.120.215',6000,'辽宁'],
			    ['2018-01-26 08:44:41','大连','PLC','s7','119.112.207.130',102,'辽宁'],
			    ['2018-01-26 11:34:39','辽宁','OWS','fox','222.62.194.187',5000,'辽宁'],
			    ['2018-01-26 12:39:04','沈阳','OPC','opc-ua ','202.118.15.117',4840,'辽宁']
			];
		}else if (name == '四川'){
			data = [
				['2018-01-06 08:49:10','四川','DSC','ddp-udp','101.204.229.39',5001,'四川'],
				['2018-01-06 09:37:09','成都','DSC','ddp-udp','118.123.213.202',51960,'四川'],
				['2018-01-06 03:52:27','遂宁','DSC','ddp-udp','125.67.64.82',5004 ,'四川'],
				['2018-01-06 06:11:48','成都','GATEWAY','hart-ip','221.237.154.119',10001,'四川'],
				['2017-12-10 23:44:42','成都','DSC','ddp-udp','118.123.249.149',55555,'四川'],
				['2018-01-05 19:38:58','绵阳','DSC','ddp-udp','61.157.135.120',5003,'四川'],
				['2018-01-06 06:27:20','成都','PLC','cspv4','171.221.248.81',6000,'四川'],
				['2018-01-03 12:59:25','雅安','GATEWAY','hart-ip','113.54.11.242',10001,'四川'],
				['2017-12-10 23:36:46','成都','GATEWAY','hart-ip','116.196.87.182',10001,'四川']
			];
		}else if (name == '上海'){
			data = [
				['2017-12-09 03:21:05','上海','DSC','ddp-udp','222.73.24.15',55555,'上海'],
				['2018-01-19 10:42:56','上海','GATEWAY','hart-ip','139.224.135.119',10001,'上海'],
				['2018-01-05 17:47:53','上海','DSC','ddp-udp','122.10.95.19',61697,'上海'],
				['2017-12-07 08:08:51','上海','GATEWAY','hart-ip','101.251.68.178',10001,'上海'],
				['2018-01-13 14:09:51','上海','GATEWAY','hart-ip','123.56.230.234',10001,'上海'],
				['2018-01-23 13:50:14','上海','DSC','ddp-udp','120.26.121.75',60001,'上海'],
				['2018-01-19 12:23:22','上海','DSC','ddp-udp','139.224.27.158',60000,'上海'],
				['2018-01-20 00:52:57','上海','DSC','ddp-udp','139.196.151.159',65000,'上海']
			];
		}else if (name == '吉林'){
			data = [
				['2017-12-10 01:56:14','吉林','DSC','ddp-tcp','218.27.141.114',5002,'吉林'],
				['2018-01-05 17:42:55','延边朝鲜族自治州','DSC','ddp-udp','218.62.90.40',5002,'吉林'],
				['2018-01-03 11:56:23','通化','DSC','ddp-udp','123.172.246.26',5002,'吉林'],
				['2017-12-18 06:00:58','长春','PLC','cspv4  ','159.226.123.61',5003,'吉林'],
				['2017-12-10 13:02:05','通化','DSC','ddp-udp','218.62.112.154',60001,'吉林'],
				['2017-12-09 07:38:03','辽源','DSC','ddp-udp','175.23.62.182 ',5002,'吉林'],
				['2017-12-09 04:07:20','吉林省','DSC','ddp-udp','122.15.156.184',65000,'吉林'],
				['2017-12-10 01:42:14','长春','DSC','ddp-udp','122.15.41.43',65000,'吉林'],
				['2017-12-09 19:58:11','延边朝鲜族自治州','DSC','ddp-udp','222.34.235.198',5005,'吉林'],
				['2017-12-10 02:57:03','长春','DSC','ddp-udp','175.19.13.217',5002,'吉林'],
				['2017-12-09 19:58:11','延边朝鲜族自治州','DSC','ddp-udp','222.34.235.198',5004,'吉林']
			];
		}else if (name == '安徽'){
			data = [
				['2018-01-07 10:39:51','芜湖','GATEWAY','hart-ip','60.169.73.171',10001,'安徽'],
				['2018-01-07 06:11:52','宣城','DSC','ddp-tcp','60.173.109.201',8000,'安徽'],
				['2018-01-07 12:11:33','安庆','HMI','http','111.39.37.98',8081,'安徽'],
				['2018-01-07 13:52:42','安庆','PLC','ethernetip-udp','220.179.15.164',44818,'安徽'],
				['2018-01-08 02:45:49','马鞍山','	DSC','ddp-udp','60.171.120.99',60000,'安徽'],
				['2017-12-31 15:41:01','滁州','DSC','ddp-udp','60.172.168.17',60000,'安徽'],
				['2017-12-12 18:16:53','合肥','HMI','http','60.168.145.47',8001,'安徽'],
				['2017-12-12 16:34:48','亳州','DSC','ddp-udp','111.39.79.34',5007,'安徽']
			];
		}else if (name == '河北'){
			data = [
				['2018-01-16 21:32:07','廊坊','EWS','siemens-license','60.10.195.138',4410,'河北'],
				['2018-01-18 03:18:09','石家庄','	PLC','s7','219.148.42.18',102,'河北'],
				['2018-01-18 03:18:09','石家庄','	PLC','s7','219.148.41.153',102,'河北'],
				['2018-01-17 02:53:45','张家口','	DSC','ddp-udp','60.8.148.98',5002,'河北'],
				['2018-01-16 13:19:49','邯郸','DSC','ddp-tcp','111.11.95.110',8001,'河北'],
				['2018-01-16 18:55:11','唐山','OWS','siemens-license','60.2.134.186',4410,'河北'],
				['2018-01-18 05:52:57','石家庄','	PLC','s7','222.222.34.234',102,'河北'],
				['2018-01-18 05:52:57','石家庄','	PLC','s7','222.222.37.242',102,'河北'],
				['2018-01-18 05:52:57','石家庄','	PLC','s7','222.222.37.204',102,'河北']
			];
		}else if (name == '湖北'){
			data = [
				['2018-01-21 13:19:38','咸宁','DSC','ddp-tcp','219.139.168.202',5001,'湖北'],
				['2018-01-21 11:18:00','鄂州','PLC','snmp','58.19.204.21',161,'湖北'],
				['2018-01-21 17:18:42','咸宁','DSC','ddp-tcp','58.52.146.90',5001,'湖北'],
				['2018-01-17 23:47:16','宜昌','DSC','ddp-udp','119.36.136.252',5002,'湖北'],
				['2017-12-23 17:05:02','宜昌','DSC','ddp-tcp','123.85.140.75',6000,'湖北'],
				['2017-12-29 13:26:14','十堰','DSC','ddp-udp','222.42.44.63',5002,'湖北'],
				['2018-01-23 19:57:42','荆州','DSC','ddp-udp','61.136.142.238',5002,'湖北'],
				['2018-01-21 18:30:00','随州','DSC','ddp-udp','221.234.12.150',5002,'湖北'],
				['2018-01-22 19:45:46','咸宁','GATEWAY','hart-ip','121.61.114.10',10001,'湖北']
			];
		}else if (name == '重庆'){
			data = [
				['2017-12-28 01:46:05','重庆','DSC','ddp-tcp','183.230.5.8',6002,'重庆'],
				['2017-12-25 18:13:28','重庆','DSC','ddp-tcp','183.64.251.6',9000,'重庆'],
				['2017-12-07 12:08:55','重庆','DSC','ddp-udp','223.255.13.37',65000,'重庆'],
				['2018-03-02 05:10:17','重庆','DSC','ddp-udp','116.196.69.220',65000,'重庆'],
				['2018-01-30 05:07:34','重庆','DCS','hollysys-macs','222.178.129.74',8000,'重庆'],
				['2018-01-27 01:53:29','重庆','OPC','opc-ua','113.250.153.100',4840,'重庆'],
				['2018-01-27 04:47:46','重庆','PLC','s7','183.64.175.167',102,'重庆'],
				['2018-01-29 22:50:24','重庆','DSC','ddp-tcp','218.201.50.13',9000,'重庆'],
				['2018-01-27 23:36:06','重庆','GATEWAY','hart-ip','113.205.115.48',10001,'重庆'],
				['2018-01-27 18:59:51','重庆','HMI','http','183.230.40.143',8080,'重庆'],
				['2018-01-29 08:00:21','重庆','DSC','ddp-tcp','218.201.13.87',6002,'重庆'],
				['2018-02-01 04:16:37','重庆','DSC','ddp-udp','113.204.34.118',4000,'重庆']
			];
		}else if (name == '福建'){
			data = [
				['2017-12-24 05:40:54','厦门','GATEWAY','https','110.86.26.146',443,'福建'],
				['2017-12-24 15:04:40','泉州','GATEWAY','hart-ip','58.23.88.158 ',10001,'福建'],
				['2018-01-24 04:52:20','泉州','DSC','ddp-tcp','218.5.136.239',6002,'福建'],
				['2018-01-25 04:47:24','厦门','GATEWAY','hart-ip','120.39.68.212',10001,'福建'],
				['2018-01-24 05:41:27','福州','ERP','http','113.18.204.78',8000,'福建'],
				['2018-01-24 18:20:01','厦门','GATEWAY','moxa-nport','110.86.26.146',4800,'福建'],
				['2018-01-19 17:27:43','福州','DSC','ddp-udp','117.27.143.49',65000,'福建'],
				['2018-01-25 17:44:58','厦门','DSC','ddp-udp','218.5.67.138',5003,'福建'],
				['2018-01-25 12:30:54','厦门','DSC','ddp-udp','61.154.252.10',5002,'福建'],
				['2018-01-27 23:21:40','厦门','DSC','ddp-udp','27.154.230.214',55555,'福建']
			];
		}else if (name == '天津'){
			data = [
				['2017-12-12 02:16:48','天津','GATEWAY','hart-ip','218.69.89.114',10001,'天津'],
				['2017-12-11 21:35:49','天津','DSC','ddp-udp','60.30.55.13',5002,'天津'],
				['2017-12-10 15:15:39','天津','DSC','ddp-udp','210.16.103.58',65000,'天津'],
				['2017-12-11 19:48:33','天津','DSC','ddp-udp','210.16.103.71',51960,'天津'],
				['2017-12-11 20:27:03','天津','DSC','ddp-udp','221.238.141.3',5007,'天津'],
				['2017-12-11 11:51:18','天津','DCS','hollysys-macs','61.234.94.6',8000,'天津'],
				['2017-12-11 15:45:23','天津','DSC','ddp-udp','27.112.2.51',6004,'天津'],
				['2017-12-11 11:51:18','天津','DCS','hollysys-macs','61.234.92.39',8000,'天津'],
				['2018-03-01 18:39:21','天津','DSC','ddp-udp','123.57.148.16',51960,'天津'],
				['2018-01-06 13:42:44','天津','DSC','ddp-udp','60.28.29.60',55555,'天津']
			];
		}else if (name == '河南'){
			data = [
				['2018-01-18 10:52:30','郑州','DSC','ddp-udp','171.8.225.33',6002,'河南'],
				['2018-01-17 21:59:46','信阳','DSC','ddp-udp','125.45.145.93',5002,'河南'],
				['2018-01-19 05:49:04','郑州','DSC','ddp-udp','218.29.110.61',65000,'河南'],
				['2018-01-18 09:57:01','郑州','DSC','ddp-udp','218.28.184.26',2000,'河南'],
				['2018-01-18 21:10:59','洛阳','DSC','ddp-tcp','117.158.181.55',5005,'河南'],
				['2018-01-19 03:10:00','安阳','DSC','ddp-udp','222.88.128.199',5002,'河南'],
				['2017-12-21 01:35:49','郑州','GATEWAY','hart-ip','61.163.107.80 ',10001,'河南'],
				['2017-12-11 18:08:12','郑州','GATEWAY','hart-ip','122.112.253.211',10001,'河南'],
				['2017-12-20 16:21:54','南阳','PLC','cspv4','123.11.248.169',4000,'河南']
			];
		}else if (name == '新疆'){
			data = [
				['2018-01-13 14:28:28','伊犁哈萨克自治州','OWS','fox','218.31.69.208',5000,'新疆维吾尔自治区'],
				['2018-01-13 14:28:28','伊犁哈萨克自治州','OWS','fox','218.31.69.18 ',5000,'新疆维吾尔自治区'],
				['2018-01-13 12:25:54','巴音郭楞蒙古自治州','DSC','ddp-udp','218.31.127.240',5002,'新疆维吾尔自治区'],
				['2018-01-23 15:27:31','和田地区','DSC','ddp-udp','222.186.10.44',50123,'新疆维吾尔自治区']
			];
		}else if (name == '湖南'){
			data = [
				['2018-01-23 03:45:07','益阳','DSC','ddp-tcp',' 220.168.151.24',5002,'湖南'],          
				['2018-01-25 03:55:10','长沙','DCS','siemens-license',' 218.77.107.171',4410,'湖南'],          
				['2018-01-25 06:10:41','长沙','DSC','ddp-udp',' 58.20.54.201',50123,'湖南'],          
				['2018-01-23 14:28:20','怀化','DSC','ddp-udp',' 223.149.135.69',2000,'湖南'],          
				['2018-01-24 09:26:08','长沙','DSC','ddp-udp',' 113.247.231.114',5002,'湖南'],          
				['2018-01-24 09:26:08','长沙','DSC','ddp-udp',' 113.247.238.170',5003,'湖南'],          
				['2018-01-22 08:40:33','张家界','DSC','ddp-tcp',' 220.168.205.10',5002,'湖南'],          
				['2018-01-25 11:20:41','衡阳','DSC','ddp-udp',' 175.6.245.186',60000,'湖南'],          
				['2018-01-24 15:28:21','长沙','DSC','ddp-tcp',' 118.249.12.231',8000,'湖南']
			];
		}else if (name == '江西'){
			data = [
				['2018-01-15 22:32:11','赣州','DSC','ddp-udp',' 106.6.138.161',51960,'江西'],          
				['2018-01-16 00:30:28','南昌','EWS','siemens-license',' 59.53.167.46',4410,'江西'],          
				['2018-01-16 18:58:36','吉安','DSC','ddp-udp',' 218.64.91.179',5002,'江西'],          
				['2018-01-16 02:44:20','南昌','DSC','ddp-udp',' 111.75.212.6',50123,'江西'],          
				['2018-01-16 04:29:14','赣州','DSC','ddp-udp',' 115.148.107.36',65000,'江西'],          
				['2018-01-15 22:56:35','南昌','ERP','https',' 171.34.46.215',443,'江西'],          
				['2017-12-19 17:25:11','南昌','PLC','cspv4',' 218.95.4.167',8443,'江西'],          
				['2018-01-16 16:24:02','宜春','DSC','ddp-udp',' 220.176.167.60',5002,'江西'],          
				['2018-01-16 18:58:36','吉安','DSC','ddp-udp',' 218.64.89.85',5002,'江西'],          
				['2018-01-16 05:59:04','景德镇','DSC','ddp-udp',' 117.40.198.68',5002,'江西']
			];
		}else if (name == '广西'){
			data = [
				['2018-01-13 18:58:39','百色','DSC','ddp-tcp',' 121.31.111.25',6002,'广西壮族自治区'],
				['2018-01-13 14:44:38','河池','DSC','ddp-udp',' 218.65.220.31',5002,'广西壮族自治区'],
				['2018-01-13 04:20:11','防城港','DSC','ddp-udp',' 202.103.220.173',51960,'广西壮族自治区'],
				['2017-12-17 12:23:18','玉林','GATEWAY','hart-ip',' 171.109.234.6',10001,'广西壮族自治区'],
				['2017-12-17 12:58:08','贵港','GATEWAY','hart-ip',' 171.111.56.166',10001,'广西壮族自治区'],
				['2017-12-29 05:45:43','南宁','DSC','ddp-udp',' 120.77.84.8',60000,'广西壮族自治区'],
				['2018-01-12 22:02:21','崇左','DSC','ddp-udp',' 116.10.220.142',6002,'广西壮族自治区'],
				['2018-01-13 15:51:42','北海','DSC','ddp-udp',' 218.204.51.199',5002,'广西壮族自治区']
				['2018-01-13 13:53:07','南宁','DSC','ddp-udp',' 219.159.235.190',5003,'广西壮族自治区']
			];
		}else if (name == '云南'){
			data = [
				['2017-12-17 03:33:18','云南','DSC','ddp-tcp','60.205.4.120',5007,'云南'],          
				['2017-12-31 09:09:37','德宏傣族景颇族自治州','DSC','ddp-tcp','39.129.194.24',5002,'云南'],          
				['2018-03-01 12:47:24','大理白族自治州','DSC','ddp-udp','60.160.111.2',5002,'云南'],          
				['2018-03-01 12:21:49','文山壮族苗族自治州','DSC','ddp-tcp','116.248.41.233',5007,'云南'],          
				['2018-02-02 19:40:27','昆明','DSC','ddp-tcp','183.224.31.195',5003,'云南'],          
				['2018-02-11 12:26:36','昆明','DSC','ddp-udp','221.213.73.85',51960,'云南'],          
				['2018-02-08 21:13:32','保山','DSC','ddp-tcp','222.219.119.3',5003,'云南'],          
				['2018-02-08 21:13:32','昆明','DSC','ddp-tcp','221.213.80.163',6002,'云南'],          
				['2018-02-08 21:13:33','楚雄彝族自治州','DSC','ddp-udp','116.55.19.139',5002,'云南']
			];
		}else if (name == '山西'){
			data = [
				['2018-01-10 04:59:06','朔州','DSC','ddp-udp','211.142.68.68',5004,'山西'],          
				['2017-12-15 22:17:36','忻州','DSC','ddp-tcp','59.48.57.98',5002,'山西'],          
				['2017-12-15 16:13:20','忻州','OWS','fox','171.125.180.50',23,'山西'],          
				['2018-01-10 04:52:38','晋中','DSC','ddp-tcp','60.223.249.18',5002,'山西'],          
				['2018-03-04 20:37:06','运城','DSC','ddp-tcp','183.203.163.165',7001,'山西'],          
				['2018-03-04 16:32:27','太原','POWER_SYSTEM','http','202.97.136.73',80,'山西'],          
				['2018-02-02 13:13:23','大同','DSC','ddp-udp','121.30.221.77',50123,'山西'],          
				['2018-02-08 21:13:31','太原','SCADA','http','218.26.22.87',84,'山西'],          
				['2018-02-08 21:13:31','太原','SCADA','http','218.26.22.87',82,'山西']
			];
		}else if (name == '陕西'){
			data = [
				['2018-01-27 03:35:27','铜川','DSC','ddp-udp','61.185.123.141',5003,'陕西'],          
				['2018-01-20 05:33:11','西安','DSC','ddp-udp','139.199.225.155',55555,'陕西'],          
				['2018-01-20 05:33:11','西安','DSC','ddp-udp','139.199.225.220',51960,'陕西'],          
				['2018-01-20 05:33:11','西安','DSC','ddp-udp','139.199.225.82',60000,'陕西'],          
				['2018-02-04 04:55:29','西安','DSC','ddp-udp','117.34.66.223',60000,'陕西'],          
				['2018-01-31 03:37:03','西安','DSC','ddp-udp','1.85.30.150',60000,'陕西'],          
				['2018-02-01 04:20:05','西安','DSC','ddp-udp','219.245.7.235',55555,'陕西'],          
				['2018-02-08 21:49:23','西安','ERP','http','113.140.20.194',8000,'陕西']
			];
		}else if (name == '甘肃'){
			data = [
				['2017-12-23 18:23:38','兰州','PLC','cspv4','123.81.248.131',8443,'甘肃'],          
				['2017-12-24 07:25:36','兰州','PLC','cspv4','60.165.48.42',6002,'甘肃'],          
				['2018-01-27 07:59:50','酒泉','DSC','ddp-udp','61.178.166.231',60000,'甘肃'],          
				['2018-01-28 06:11:59','兰州','DSC','ddp-udp','123.206.34.200',51960,'甘肃'],          
				['2018-01-25 04:26:34','兰州','DSC','ddp-tcp','210.77.73.28',5002,'甘肃'],          
				['2018-01-25 04:26:34','兰州','GATEWAY','hart-ip','210.77.73.20',10001,'甘肃'],          
				['2018-01-27 12:32:33','酒泉','DSC','ddp-udp','60.164.172.110',5006,'甘肃'],          
				['2018-02-08 21:49:21','定西','EWS','siemens-license','125.75.132.88',4410,'甘肃'],          
				['2018-02-08 21:49:22','张掖','OWS','siemens-license','60.164.127.105',4410,'甘肃'],          
				['2018-01-24 05:15:35','兰州','DSC','ddp-udp','202.201.34.98',55555,'甘肃'],
				['2018-01-24 08:19:38','临夏回族自治州','DSC','ddp-tcp','60.165.219.149',5001,'甘肃']
			];
		}else if (name == '宁夏'){
			data = [
				['2018-01-07 20:10:19','吴忠','DSC','ddp-tcp','218.21.36.218',8001,'宁夏回族自治区'],
				['2018-01-07 20:10:19','吴忠','DSC','ddp-udp','218.21.33.26',5003,'宁夏回族自治区'],
				['2018-01-07 02:09:20','银川','DSC','ddp-udp','119.60.0.61',50123,'宁夏回族自治区'],
				['2017-12-12 21:08:28','吴忠','DSC','ddp-udp','218.21.33.26',5002,'宁夏回族自治区'],
				['2017-12-12 04:12:15','银川','GATEWAY','hart-ip','111.113.28.238',10001,'宁夏回族自治区'],
				['2017-12-12 21:08:28','吴忠','DSC','ddp-udp','218.21.33.26',5004,'宁夏回族自治区']
			];
		}else if (name == '贵州'){
			data = [
				['2018-01-25 17:07:28','黔南布依族苗族自治州','DSC','ddp-udp','222.86.224.136',4000,'贵州'],          
				['2018-01-27 00:04:14','贵阳','DSC','ddp-udp','58.42.224.139',5002,'贵州'],          
				['2018-02-08 21:49:24','遵义','SCADA','http','111.85.96.250',8888,'贵州'],          
				['2017-12-25 20:47:50','黔东南苗族侗族自治州','PLC','cspv4','119.1.194.144',6004,'贵州'],          
				['2017-12-24 10:16:58','黔东南苗族侗族自治州','PLC','cspv4','1.207.62.2',5005,'贵州']
			];
		}else if (name == '海南'){
			data = [
				['2018-01-21 22:33:18','三亚','DSC','ddp-udp','222.17.176.3',65000,'海南'],         
				['2018-01-21 10:41:36','三亚','DSC','ddp-udp','220.174.91.215',5002,'海南'],
				['2018-01-21 09:10:13','海南','DSC','ddp-udp','113.59.35.21',5004,'海南'],
				['2018-02-08 21:49:22','海口','DSC','ddp-udp','220.174.209.88',5007,'海南'],
				['2018-01-21 09:10:13','海南','DSC','ddp-udp','113.59.35.21',5001,'海南'],
				['2018-01-21 05:31:35','三亚','DSC','ddp-udp','59.50.41.26',5002,'海南'],
				['2018-01-21 05:31:35','三亚','DSC','ddp-udp','59.50.44.44',5001,'海南']
			];
		}else if (name == '内蒙古'){
			data = [
				['2018-03-01 13:17:57','呼和浩特','GATEWAY','hart-ip','39.153.144.144',10001,'内蒙古自治区'],
				['2018-02-08 21:13:32','包头','DSC','ddp-tcp','120.193.193.140',8001,'内蒙古自治区'],
				['2018-02-08 21:49:21','呼伦贝尔','EWS','siemens-license','222.74.108.44',4410,'内蒙古自治区'],
				['2017-12-30 13:40:03','兴安盟','DSC','ddp-udp','218.202.74.146',5001,'内蒙古自治区'],
				['2017-12-07 04:32:46','乌兰察布','DSC','ddp-tcp','222.74.233.172',9999,'内蒙古自治区'],
				['2018-02-08 20:58:56','鄂尔多斯','DSC','ddp-udp','123.178.139.194',5006,'内蒙古自治区']
			];
		}else if (name == '青海'){
			data = [
				['2018-01-27 08:43:09','西宁','DSC','ddp-udp','210.27.143.86',60001,'青海'],
				['2018-01-30 20:11:00','西宁','DSC','ddp-udp','223.220.250.154',5002,'青海'],
				['2018-02-08 21:17:02','西宁','DSC','ddp-udp','220.167.220.29',5002,'青海'],
				['2018-01-30 06:16:10','海北藏族自治州','DSC','ddp-udp','223.221.67.131',2000,'青海'],
				['2018-01-27 18:42:05','海西蒙古族藏族自治州','DSC','ddp-udp','110.167.123.63',60000,'青海'],
				['2018-02-27 13:33:45','西宁','DCS','hollysys-macs','222.59.1.68',8000,'青海']
			];
		}else if (name == '西藏'){
			data = [
				['2018-01-10 10:13:05','拉萨','ERP','http','221.176.65.138',80,'西藏自治区'],
				['2018-02-08 21:17:02','林芝','DSC','ddp-udp','220.182.18.41',5003,'西藏自治区'],
				['2018-01-24 23:33:33','阿里地区','DSC','ddp-udp','124.31.255.138',5002,'西藏自治区'],
				['2018-01-25 07:03:22','林芝地区','DSC','ddp-udp','124.31.124.232',5004,'西藏自治区'],
				['2018-01-23 22:42:46','澳门特别行政区','CONVERTER','lantronix-udp','202.175.19.137',30718,'澳门特别行政区'],
			];
		}
	}else if(type=="2"){
		if(name == '台湾'){
			data = [
				['2017-12-07 03:19:18','台湾','IP_CAMERA','http','114.34.184.151',81,'台湾'],
				['2017-12-07 03:19:19','台湾','IP_CAMERA','rtsp','114.34.213.15',554,'台湾'],
				['2017-12-07 03:19:19','台湾','IP_CAMERA','rtsp','114.34.210.51',554,'台湾'],
				['2017-12-07 03:19:19','台湾','IP_CAMERA','rtsp','114.34.209.54',554,'台湾'],
				['2017-12-07 03:19:19','台湾','IP_CAMERA','rtsp','114.34.210.1',554,'台湾'],
				['2017-12-07 03:19:19','台湾','DVR','rtsp','114.34.223.19',554,'台湾'],
				['2017-12-07 03:19:19','台湾','DVR','rtsp','114.34.179.17',554,'台湾']
			];
		}else if(name == '北京'){
			data = [
				['2017-12-04 17:59:49','北京','IP_CAMERA','http','124.204.201.103',80 ,'北京'],
				['2017-12-04 17:59:49','北京','IP_CAMERA','rtsp','124.204.199.220',554,'北京'],
				['2017-12-04 18:17:57','北京','IP_CAMERA','rtsp','124.64.248.193',554,'北京'],
				['2017-12-04 18:17:57','北京','IP_CAMERA','rtsp','124.64.239.67',554,'北京'],
				['2017-12-04 18:17:57','北京','IP_CAMERA','rtsp','124.64.232.23',554,'北京'],
			];
		}else if(name == '浙江'){
			data = [
				['2018-01-19 05:47:05','台州','IP_CAMERA','rtsp','111.3.98.56',554,'浙江'],
				['2018-01-19 05:39:33','湖州','IP_CAMERA','rtsp','115.208.97.251',554,'浙江'],
				['2018-01-19 05:39:33','湖州','IP_CAMERA','rtsp','115.208.99.77',554,'浙江'],
				['2018-01-19 05:39:34','湖州','IP_CAMERA','rtsp','115.208.125.133',554,'浙江']
			];
		}else if(name == '广东'){
			data = [
				['2017-12-05 04:32:11','广州','IP_CAMERA','rtsp','123.59.69.103',554,'广东'],
				['2018-01-15 05:19:19','东莞','IP_CAMERA','rtsp','101.247.238.247',554,'广东'],
			];
		}else if(name == '山东'){
			data = [
				['2017-12-13 13:59:04','日照','IP_CAMERA','rtsp','122.6.101.82',554,'山东'],
				['2017-12-13 13:59:26','日照','IP_CAMERA','http','112.250.163.200',81,'山东'],
				['2017-12-13 13:59:26','日照','DVR','dahua-dvr','112.250.167.59',37777,'山东'],
				['2017-12-13 13:59:26','日照','DVR','onvif','112.250.198.165',3702,'山东'],
				['2017-12-13 13:58:05','德州','IP_CAMERA','rtsp','182.35.190.48',554,'山东'],
				['2017-12-13 13:51:59','威海','IP_CAMERA','rtsp','27.203.170.152',554,'山东'],
				['2017-12-13 13:51:59','威海','IP_CAMERA','rtsp','27.203.172.27',554,'山东'],
				['2017-12-13 13:54:36','日照','IP_CAMERA','rtsp','119.184.68.3',554,'山东'],
				['2017-12-13 13:54:36','日照','IP_CAMERA','rtsp','119.184.89.107',554,'山东'],
				['2017-12-13 13:18:49','济宁','IP_CAMERA','rtsp','39.85.224.75',554,'山东'],
				['2017-12-13 13:18:49','济宁','IP_CAMERA','rtsp','39.85.219.185',554,'山东'],
				['2017-12-13 14:01:21','临沂','IP_CAMERA','rtsp','60.213.31.10',554,'山东'],
				['2017-12-13 14:01:21','临沂','IP_CAMERA','rtsp','60.213.67.251',554,'山东'],
				['2017-12-13 14:44:24','威海','IP_CAMERA','rtsp','221.2.171.232',554,'山东'],
				['2017-12-13 14:44:25','滨州','IP_CAMERA','rtsp','221.2.190.236',554,'山东'],
				['2017-12-13 14:50:24','济南','DVR','dahua-dvr','60.217.206.114',37777,'山东'],
				['2017-12-13 14:30:10','威海','DVR','dahua-dvr','60.217.101.10',37777,'山东'],
				['2017-12-13 14:30:10','威海','DVR','onvif','60.217.101.170',3702 ,'山东']
			];
		}else if(name == '香港'){
			data = [
				['2018-01-19 05:45:10','香港特别行政区','IP_CAMERA','http','39.109.215.210',8888,'香港特别行政区'],
				['2018-01-19 05:45:10','香港特别行政区','DVR','dahua-dvr','39.109.192.227',37777,'香港特别行政区'],
				['2018-01-19 05:45:05','香港特别行政区','IP_CAMERA','http','39.109.185.215',81,'香港特别行政区'],
				['2018-01-19 05:45:05','香港特别行政区','IP_CAMERA','rtsp','39.109.179.237',554,'香港特别行政区'],
				['2018-01-19 05:19:37','香港特别行政区','IP_CAMERA','http','39.110.213.47 ',6004,'香港特别行政区'],
				['2017-12-27 22:16:36','香港特别行政区','IP_CAMERA','http','203.198.124.111',80,'香港特别行政区'],
				['2017-12-27 22:16:36','香港特别行政区','NVR','http','203.198.233.139',80,'香港特别行政区'],
				['2017-12-27 22:16:36','香港特别行政区','NVR','http','203.198.122.158',80,'香港特别行政区'],
				['2017-12-27 22:16:36','香港特别行政区','IP_CAMERA','http','203.198.128.121',80,'香港特别行政区']
			];
		}else if(name == '黑龙江'){
			data = [
				['2017-12-25 19:45:53','哈尔滨','IP_CAMERA','rtsp','123.166.47.30',554,'黑龙江'],        
				['2017-12-27 12:43:57','双鸭山','IP_CAMERA','rtsp','42.185.168.81',554,'黑龙江'],        
				['2017-12-27 13:32:05','哈尔滨','IP_CAMERA','rtsp','123.165.76.193',554,'黑龙江'],        
				['2017-12-27 13:32:05','哈尔滨','DVR','dahua-dvr','123.165.71.26',37777,'黑龙江'],        
				['2017-12-27 08:40:21','齐齐哈尔','IP_CAMERA','rtsp','221.209.60.102',554,'黑龙江'],        
				['2017-12-27 06:48:18','齐齐哈尔','IP_CAMERA','http','111.43.138.92',80,'黑龙江'],        
				['2017-12-27 06:48:18','齐齐哈尔','IP_CAMERA','rtsp','111.43.152.229',554,'黑龙江'],        
				['2017-12-27 06:53:43','大庆','IP_CAMERA','rtsp','123.164.109.35',554,'黑龙江'],        
			];
		}else if(name == '江苏'){
			data = [
				['2018-01-14 15:49:45','苏州','IP_CAMERA','rtsp','221.225.213.112',554,'江苏'],          
				['2018-01-14 15:49:45','南京','IP_CAMERA','rtsp','221.226.108.54',554,'江苏'],          
				['2018-01-14 15:49:45','苏州','IP_CAMERA','rtsp','221.225.218.56',554,'江苏'],          
				['2018-01-14 15:49:46','苏州','DVR','http','221.225.135.190',8090,'江苏'],          
				['2018-01-14 16:58:45','常州','DVR','dahua-dvr','58.216.141.70',37777,'江苏'],          
				['2018-01-14 17:03:09','常州','DVR','dahua-dvr','222.185.34.235',37777,'江苏'],          
				['2018-01-14 17:22:07','无锡','DVR','dahua-dvr','180.113.249.30',37777,'江苏'],          
			];
		}else if(name == '辽宁'){
			data = [
				['2017-12-07 02:48:19','营口','NVR','http','123.190.65.150',80,'辽宁'],          
				['2017-12-25 19:41:03','本溪','IP_CAMERA','http','119.116.161.112',80,'辽宁'],          
				['2017-12-25 19:41:57','大连','IP_CAMERA','http','175.163.233.30',80,'辽宁'],          
				['2017-12-25 01:04:46','辽阳','IP_CAMERA','rtsp','123.190.179.234',554,'辽宁'],          
				['2017-12-25 01:04:46','辽阳','IP_CAMERA','rtsp','123.190.155.90',554,'辽宁'],          
				['2017-12-25 01:04:46','辽阳','DVR','dahua-dvr','123.190.168.251',37777,'辽宁'],          
				['2017-12-25 00:25:24','沈阳','IP_CAMERA','http','175.168.55.227',80,'辽宁'],          
				['2017-12-25 00:25:24','沈阳','IP_CAMERA','http','175.168.54.77',80,'辽宁'],          
				['2017-12-25 00:49:53','盘锦','IP_CAMERA','rtsp','175.173.251.85',554,'辽宁'],          
				['2017-12-25 00:40:01','丹东','NVR','http','221.202.20.52',80,'辽宁'],          
				['2017-12-25 00:40:01','丹东','IP_CAMERA','http','221.202.18.135',80,'辽宁']
			];
		}else if(name == '四川'){
			data = [
				['2017-12-11 14:18:38','南充','IP_CAMERA','rtsp','61.157.206.243',554,'四川'],          
				['2017-12-11 14:18:38','南充','IP_CAMERA','rtsp','61.157.203.45',554,'四川'],          
				['2017-12-11 14:13:48','泸州','IP_CAMERA','onvif','221.237.199.245',3702,'四川'],          
				['2017-12-11 15:22:17','成都','IP_CAMERA','rtsp','222.209.52.86',554,'四川'],          
				['2017-12-27 11:06:22','成都','IP_CAMERA','rtsp','183.223.99.217',554,'四川'],          
				['2017-12-12 23:23:20','资阳','IP_CAMERA','rtsp','218.89.73.76',554,'四川'],          
				['2018-01-05 22:16:19','成都','IP_CAMERA','rtsp','119.4.148.164',554,'四川'],          
				['2018-01-05 22:14:41','广安','IP_CAMERA','rtsp','110.190.30.237',554,'四川'],          
				['2018-01-05 22:56:30','乐山','IP_CAMERA','rtsp','125.68.139.70',554,'四川'],          
				['2018-01-05 22:56:30','乐山','IP_CAMERA','rtsp','125.68.137.109',554,'四川'],          
			];
		}else if(name == '上海'){
			data = [
				['2017-12-07 05:20:07','上海','IP_CAMERA','rtsp','124.78.145.157',554,'上海'],          
				['2017-12-06 18:05:40','上海','IP_CAMERA','http','180.162.227.124',81,'上海'],          
				['2017-12-06 18:05:40','上海','IP_CAMERA','rtsp','180.162.241.180',554,'上海'],          
				['2017-12-06 18:05:40','上海','IP_CAMERA','rtsp','180.162.235.142',554,'上海'],          
				['2017-12-06 18:05:40','上海','IP_CAMERA','rtsp','180.162.211.38',554,'上海'],          
				['2017-12-06 18:05:40','上海','IP_CAMERA','rtsp','180.162.240.28',554,'上海'],          
				['2017-12-03 23:53:14','上海','IP_CAMERA','http','115.172.92.151',80,'上海'],          
				['2017-12-04 00:20:31','上海','IP_CAMERA','rtsp','180.155.144.240',554,'上海'],          
				['2017-12-31 21:40:08','上海','IP_CAMERA','rtsp','116.235.211.62',554,'上海'],          
				['2017-12-31 21:05:36','上海','IP_CAMERA','rtsp','116.231.96.208',554,'上海']
			];
		}else if(name == '吉林'){
			data = [
				['2017-12-09 04:58:25','吉林','IP_CAMERA','http','119.49.191.240',80,'吉林'],             
				['2018-01-02 19:09:56','吉林','IP_CAMERA','rtsp','175.22.129.67',554,'吉林'],            
				['2018-01-02 20:08:30','吉林省','VPN','https','122.15.156.5',443,'吉林'],            
				['2018-01-03 00:21:25','延边朝鲜族自治州','IP_CAMERA','http','222.162.109.244',80,'吉林'],            
				['2018-01-03 00:21:25','延边朝鲜族自治州','DVR','dahua-dvr','222.162.95.72',37777,'吉林'],            
				['2018-01-03 04:20:07','吉林','IP_CAMERA','http','139.211.60.181',80,'吉林'],            
				['2018-01-03 04:20:07','吉林','IP_CAMERA','http','139.211.37.110',80,'吉林'],            
				['2018-01-03 04:20:07','吉林','IP_CAMERA','http','139.211.39.68 ',80,'吉林']
			];
		}else if(name == '安徽'){
			data = [
				['2017-12-31 17:45:36','滁州','IP_CAMERA','http','60.172.183.195',81,'安徽'],            
				['2017-12-31 17:45:37','滁州','IP_CAMERA','rtsp','60.172.183.115',554,'安徽'],            
				['2017-12-31 17:45:41','池州','DVR','onvif','220.180.74.213',3702,'安徽'],            
				['2017-12-13 15:11:48','阜阳','IP_CAMERA','rtsp','112.122.219.65',554,'安徽'],            
				['2017-12-13 06:22:24','安徽','IP_CAMERA','rtsp','112.27.131.74',554,'安徽'],            
				['2017-12-13 06:22:24','安徽','IP_CAMERA','rtsp','112.27.144.120',554,'安徽'],            
				['2017-12-13 06:22:24','安徽','IP_CAMERA','rtsp','112.27.130.191',554,'安徽'],            
				['2017-12-13 06:22:25','安徽','IP_CAMERA','onvif','112.27.130.157',3702,'安徽'],            
				['2017-12-13 06:22:25','安徽','IP_CAMERA','onvif','112.27.130.173',3702,'安徽']
			];
		}else if(name == '河北'){
			data = [
				['2017-12-31 17:24:10','石家庄','DVR','dahua-dvr','222.222.35.12',37777,'河北'],            
				['2017-12-20 11:06:26','邢台','IP_CAMERA','rtsp','120.14.251.246',554,'河北'],            
				['2017-12-20 11:08:36','石家庄','DVR','dahua-dvr','120.1.14.10',37777,'河北'],            
				['2017-12-20 07:02:12','沧州','IP_CAMERA','http','120.11.13.124',80,'河北'],            
				['2017-12-20 07:02:12','沧州','IP_CAMERA','rtsp','120.10.247.170',554,'河北'],            
				['2017-12-20 07:02:12','沧州','IP_CAMERA','rtsp','120.10.244.13',554,'河北'],            
				['2017-12-20 07:10:19','秦皇岛','IP_CAMERA','http','60.7.70.208',80,'河北'],            
			];
		}else if(name == '湖北'){
			data = [
				['2017-12-31 21:37:58','武汉','NVR','http','116.206.98.108',80,'湖北'],            
				['2017-12-31 21:38:00','武汉','DVR','rtsp','116.206.98.110',554,'湖北'],            
				['2017-12-31 21:38:00','武汉','IP_CAMERA','rtsp','116.206.98.190',554,'湖北'],            
				['2017-12-31 21:37:58','武汉','IP_CAMERA','http','116.206.98.39 ',80,'湖北'],            
				['2017-12-31 21:37:59','武汉','IP_CAMERA','http','116.206.98.172',80,'湖北'],            
				['2017-12-31 21:38:00','武汉','IP_CAMERA','http','116.206.89.131',82,'湖北'],            
				['2017-12-31 21:38:00','武汉','IP_CAMERA','rtsp','116.206.89.167',554,'湖北'],            
				['2017-12-31 21:38:00','武汉','DVR','dahua-dvr','116.206.98.162',37777,'湖北']
			];
		}else if(name == '重庆'){
			data = [
				['2017-12-26 10:27:58','重庆','IP_CAMERA','rtsp','219.151.147.7',554,'重庆'],            
				['2017-12-25 00:39:03','重庆','DVR','dahua-dvr','61.186.242.90',37777,'重庆'],            
				['2017-12-26 01:31:31','重庆','IP_CAMERA','http','14.106.50.53',82,'重庆'],            
				['2017-12-26 01:31:31','重庆','DVR','rtsp','14.106.27.79',554,'重庆'],            
				['2017-12-26 01:31:31','重庆','IP_CAMERA','rtsp','14.106.59.162',554,'重庆'],            
				['2017-12-26 01:31:31','重庆','DVR','dahua-dvr','14.106.29.9',37777,'重庆'],            
				['2017-12-26 05:18:12','重庆','IP_CAMERA','rtsp','219.151.190.125',554,'重庆'] 
			];
		}else if(name == '福建'){
			data = [
				['2017-12-31 17:45:41','南平','IP_CAMERA','onvif','222.78.250.188',3702,'福建'],            
				['2017-12-25 19:47:34','厦门','DVR','dahua-dvr','124.15.174.136',37777,'福建'],            
				['2017-12-28 03:49:17','莆田','IP_CAMERA','rtsp ','218.207.144.236',554,'福建'],            
				['2017-12-27 08:14:58','莆田','IP_CAMERA','http ','27.150.255.242',80,'福建'],            
				['2017-12-27 08:15:00','莆田','IP_CAMERA','rtsp ','27.150.255.63',554,'福建'],            
				['2017-12-27 08:15:00','莆田','IP_CAMERA','onvif','27.150.255.153',3702,'福建'],            
				['2017-12-27 08:15:00','莆田','IP_CAMERA','onvif','27.150.255.50',3702,'福建'],            
				['2017-12-25 01:21:32','莆田','DVR','onvif','120.40.153.238',3702,'福建']
			];
		}else if(name == '天津'){
			data = [
				['2017-12-05 10:00:54','天津','IP_CAMERA','rtsp','211.161.143.215',554,'天津'],            
				['2017-12-11 15:23:46','天津','IP_CAMERA','rtsp','111.162.144.43',554,'天津'],            
				['2017-12-11 15:23:46','天津','DVR','dahua-dvr','111.162.153.184',37777,'天津'],            
				['2017-12-11 15:18:28','天津','IP_CAMERA','rtsp','60.26.10.65',554,'天津'],            
				['2017-12-11 18:00:36','天津','DVR','dahua-dvr','111.165.206.60',37777,'天津'],            
				['2017-12-11 17:58:01','天津','IP_CAMERA','http','125.38.180.135',81,'天津'],            
				['2017-12-11 17:59:04','天津','DVR','dahua-dvr','180.90.234.166',37777,'天津'],            
				['2017-12-26 10:35:08','天津','IP_CAMERA','rtsp','36.106.134.22',554,'天津'],            
				['2017-12-26 10:35:08','天津','IP_CAMERA','rtsp','36.106.118.93',554,'天津'],            
			];
		}else if(name == '河南'){
			data = [
				['2018-01-18 21:20:16','漯河','IP_CAMERA','http','125.45.82.223',81,'河南'],            
				['2018-01-18 21:06:50','濮阳','IP_CAMERA','rtsp','115.62.36.198',554,'河南'],            
				['2018-01-18 22:03:29','郑州','IP_CAMERA','rtsp','125.41.140.40',554,'河南'],            
				['2018-01-18 22:03:29','郑州','IP_CAMERA','rtsp','125.41.134.231',554,'河南'],            
				['2018-01-18 22:03:39','开封','IP_CAMERA','rtsp','115.55.144.125',554,'河南'],            
				['2018-01-18 22:03:39','驻马店','IP_CAMERA','rtsp','115.58.55.204',554,'河南'],            
				['2018-01-18 22:03:39','驻马店','IP_CAMERA','rtsp','115.58.181.66',554,'河南']
			];
		}else if(name == '新疆'){
			data = [
				['2018-01-14 15:36:35','五家渠','IP_CAMERA','rtsp','124.119.16.174',554,'新疆维吾尔自治区'],
				['2018-01-15 04:00:40','乌鲁木齐','IP_CAMERA','rtsp','121.46.94.134',554,'新疆维吾尔自治区'],
				['2018-01-15 12:52:56','乌鲁木齐','IP_CAMERA','rtsp','222.60.1.201',554,'新疆维吾尔自治区'],
				['2018-01-14 06:40:41','喀什地区','IP_CAMERA','rtsp','110.154.135.158',554,'新疆维吾尔自治区'],
				['2018-01-14 06:40:41','喀什地区','DVR','dahua-dvr','110.154.135.158',37777,'新疆维吾尔自治区'],
			];
		}else if(name == '湖南'){
			data = [
				['2018-01-14 23:17:25','益阳','DVR','dahua-dvr','120.195.160.11',37777,'湖南'],            
				['2017-12-23 09:54:08','株洲','IP_CAMERA','rtsp','58.45.116.237',554,'湖南'],            
				['2017-12-23 10:06:37','长沙','IP_CAMERA','rtsp','175.14.17.195',554,'湖南'],            
				['2017-12-23 10:45:28','娄底','DVR','dahua-dvr','218.77.103.230 ',37777,'湖南'],            
				['2017-12-23 10:50:39','湘潭','IP_CAMERA','rtsp','223.156.200.122',554,'湖南'],            
				['2017-12-23 14:23:20','长沙','IP_CAMERA','rtsp','220.168.85.56',554,'湖南']
			];
		}else if(name == '江西'){
			data = [
				['2017-12-06 18:10:51','新余','IP_CAMERA','rtsp','39.159.166.65',554,'江西'],            
				['2017-12-06 18:11:20','上饶','IP_CAMERA','rtsp','39.161.36.158',554,'江西'],            
				['2017-12-06 18:11:20','上饶','IP_CAMERA','rtsp','39.161.61.231',554,'江西'],            
				['2017-12-06 18:11:20','上饶','IP_CAMERA','rtsp','39.161.50.210',554,'江西'],            
				['2017-12-07 03:31:05','上饶','IP_CAMERA','rtsp','39.158.56.68',554,'江西'],            
				['2017-12-31 17:42:26','南昌','IP_CAMERA','rtsp','39.161.75.45',554,'江西'],            
				['2017-12-31 20:25:26','萍乡','IP_CAMERA','rtsp','39.158.1.133',554,'江西'],            
				['2017-12-31 20:25:26','萍乡','IP_CAMERA','rtsp','39.158.10.84',554,'江西'],            
				['2017-12-31 20:25:26','萍乡','IP_CAMERA','rtsp','39.158.11.228',554,'江西'],            
				['2018-01-15 12:46:00','九江','IP_CAMERA','rtsp','59.54.80.228',554,'江西'],            
				['2018-01-15 12:46:00','九江','IP_CAMERA','rtsp','59.54.32.75',554,'江西']
			];
		}else if(name == '广西'){
			data = [
				['2018-01-13 02:37:23','百色','IP_CAMERA','rtsp','116.252.200.252',554,'广西壮族自治区'], 
				['2018-01-13 02:37:23','南宁','IP_CAMERA','rtsp','116.252.198.214',554,'广西壮族自治区'],
				['2018-01-12 21:33:15','玉林','IP_CAMERA','rtsp','171.108.68.213',554,'广西壮族自治区'],
				['2018-01-12 22:09:53','来宾','IP_CAMERA','rtsp','180.141.184.151',554,'广西壮族自治区'],
				['2018-01-12 22:18:07','来宾','IP_CAMERA','rtsp','110.73.156.103',554,'广西壮族自治区'],
				['2018-01-12 22:19:42','北海','IP_CAMERA','rtsp','180.141.122.129',554,'广西壮族自治区'],
				['2018-01-12 22:19:42','北海','IP_CAMERA','rtsp','180.141.124.54',554,'广西壮族自治区'],
				['2018-01-12 22:32:05','南宁','IP_CAMERA','rtsp','171.37.86.18',554,'广西壮族自治区'],
				['2018-01-12 22:32:05','南宁','IP_CAMERA','rtsp','171.37.91.53',554,'广西壮族自治区']
			];
		}else if(name == '云南'){
			data = [
				['2017-12-31 06:40:58','玉溪','VMS','http','39.129.88.3',7000,'云南'],          
				['2018-01-05 22:26:47','德宏傣族景颇族自治州','IP_CAMERA','http','112.113.65.84',80,'云南'],          
				['2017-12-31 07:20:25','保山','IP_CAMERA','http','182.247.75.91',80,'云南'],          
				['2017-12-31 07:20:25','保山','IP_CAMERA','http','182.247.74.177',80,'云南']
			];
		}else if(name == '山西'){
			data = [
				['2018-01-15 07:41:10','太原','ROUTER','http','101.247.183.26',8090,'山西'],          
				['2017-12-15 17:33:07','阳泉','IP_CAMERA','http','171.119.174.142',80,'山西'],          
				['2017-12-15 22:51:03','临汾','IP_CAMERA','rtsp','60.221.193.142',554,'山西'],          
				['2017-12-27 08:09:43','太原','IP_CAMERA','http','183.184.62.6',80,'山西'],          
				['2017-12-27 08:09:43','吕梁','NVR ','http','183.186.60.184',80,'山西'],          
				['2017-12-27 08:09:43','晋城','IP_CAMERA','rtsp','183.187.11.80',554,'山西'],          
			];
		}else if(name == '陕西'){
			data = [
				['2017-12-27 06:40:13','宝鸡','IP_CAMERA','rtsp','221.11.85.244',554,'陕西'],          
				['2017-12-27 08:01:03','西安','IP_CAMERA','rtsp','36.44.82.86',554,'陕西'],          
				['2017-12-27 08:01:03','西安','IP_CAMERA','rtsp','36.44.94.226',554,'陕西'],          
				['2017-12-27 06:35:01','宝鸡','IP_CAMERA','rtsp','123.139.245.242',554,'陕西'],          
				['2017-12-27 06:57:13','商洛','IP_CAMERA','rtsp','1.82.6.199',554,'陕西'],          
				['2017-12-27 06:57:13','安康','IP_CAMERA','rtsp','1.82.33.142',554,'陕西'],          
			];
		}else if(name == '甘肃'){
			data = [
				['2017-12-23 14:26:29','酒泉','IP_CAMERA','rtsp','118.183.55.247',554,'甘肃'],          
				['2017-12-23 14:26:29','酒泉','IP_CAMERA','rtsp','118.183.49.30',554,'甘肃'],          
				['2017-12-23 15:16:21','张掖','IP_CAMERA','rtsp','42.93.91.62',554,'甘肃'],          
				['2017-12-23 15:16:20','张掖','IP_CAMERA','rtsp','42.93.84.212',554,'甘肃'],          
				['2017-12-23 15:16:21','张掖','IP_CAMERA','rtsp','42.93.92.60',554,'甘肃'],          
				['2017-12-23 15:54:40','金昌','DVR ','dahua-dvr','117.156.129.25',37777,'甘肃'],          
				['2017-12-23 15:54:11','兰州','IP_CAMERA','rtsp','42.91.209.244',554,'甘肃'],          
				['2017-12-23 15:51:13','酒泉','IP_CAMERA','rtsp','125.76.84.139',554,'甘肃'],          
				['2017-12-23 19:52:03','兰州','IP_CAMERA','rtsp','124.152.90.165',554,'甘肃'],          
				['2017-12-23 19:52:03','武威','IP_CAMERA','rtsp','124.152.117.253',554,'甘肃']
			];
		}else if(name == '宁夏'){
			data = [
				['2017-12-13 13:44:38','固原','IP_CAMERA','rtsp','14.135.246.125',554,'宁夏回族自治区'],
				['2017-12-13 11:02:24','中卫','IP_CAMERA','rtsp','14.135.169.65',554,'宁夏回族自治区'],
				['2017-12-12 21:08:27','石嘴山','IP_CAMERA','http','218.203.158.22',80,'宁夏回族自治区'],
				['2017-12-12 21:08:27','石嘴山','IP_CAMERA','http','218.203.152.140',80,'宁夏回族自治区'],
				['2017-12-12 21:08:27','吴忠','IP_CAMERA','http','218.21.35.94',80,'宁夏回族自治区'],
				['2017-12-12 21:08:28','石嘴山','DVR','dahua-dvr','218.203.158.99',37777,'宁夏回族自治区'],
				['2018-01-06 17:06:20','银川','IP_CAMERA','rtsp','221.11.248.191',554,'宁夏回族自治区'],
				['2018-01-07 23:04:03','中卫','IP_CAMERA','rtsp','14.135.107.26',554,'宁夏回族自治区'],
				['2018-01-06 16:46:32','吴忠','IP_CAMERA','rtsp','42.63.178.13',554,'宁夏回族自治区'],
				['2018-01-08 05:38:49','中卫','IP_CAMERA','rtsp','222.75.39.103',554,'宁夏回族自治区']
			];
		}else if(name == '贵州'){
			data = [
				['2017-12-31 21:49:21','贵阳','IP_CAMERA','http','223.209.50.21',80,'贵州'],          
				['2018-01-01 17:21:31','黔南布依族苗族自治州','IP_CAMERA','rtsp','114.139.124.119',554,'贵州'],          
				['2017-12-31 19:22:35','黔南布依族苗族自治州','IP_CAMERA','rtsp','58.42.71.57',554,'贵州'],          
				['2017-12-25 19:47:55','六盘水','IP_CAMERA','rtsp','1.49.227.182',554,'贵州'],          
				['2017-12-25 10:36:59','铜仁','IP_CAMERA','rtsp','114.138.215.105',554,'贵州'],          
				['2017-12-25 10:36:59','铜仁','IP_CAMERA','rtsp','114.138.197.199',554,'贵州'],          
				['2017-12-25 10:36:59','黔南布依族苗族自治州','IP_CAMERA','rtsp','114.138.190.123',554,'贵州'],          
				['2018-01-17 13:04:35','铜仁','IP_CAMERA','rtsp','106.43.71.7',554,'贵州']       
			];
		}else if(name == '海南'){
			data = [
				['2018-01-15 12:46:40','三亚','IP_CAMERA','rtsp','222.61.118.89',554,'海南'],          
				['2017-12-23 02:50:38','海口','IP_CAMERA','rtsp','112.66.91.231',554,'海南'],          
				['2017-12-22 12:57:51','海口','IP_CAMERA','onvif','124.225.17.79',3702,'海南'],          
				['2018-01-21 07:46:56','万宁','IP_CAMERA','rtsp','140.240.96.245',554,'海南'],          
				['2018-01-21 08:10:54','海口','IP_CAMERA','rtsp','36.1.127.71',554,'海南'],          
				['2018-01-21 08:10:54','海口','IP_CAMERA','rtsp','36.1.136.121',554,'海南'],          
				['2018-01-21 08:22:48','昌江黎族自治县','IP_CAMERA','http','139.189.84.33',81,'海南'],          
				['2018-01-21 08:22:48','昌江黎族自治县','IP_CAMERA','rtsp','139.189.82.191',554,'海南'],          
				['2018-01-21 08:22:48','海口','DVR','dahua-dvr','139.189.76.179',37777,'海南']   
			];
		}else if(name == '内蒙古'){
			data = [
				['2017-12-07 04:32:46','呼和浩特','IP_CAMERA','rtsp','222.74.207.226',554,'内蒙古自治区'],  
				['2017-12-30 13:40:03','通辽','NVR','http','218.202.76.174',80,'内蒙古自治区'],  
				['2017-12-30 13:40:03','鄂尔多斯','IP_CAMERA','onvif','218.202.83.67',3702,'内蒙古自治区'],  
				['2017-12-27 07:47:06','呼伦贝尔','IP_CAMERA','rtsp','111.42.97.105',554,'内蒙古自治区'],  
				['2017-12-31 21:58:55','呼和浩特','IP_CAMERA','rtsp','39.153.148.188',554,'内蒙古自治区'],  
				['2017-12-31 21:14:13','阿拉善盟','IP_CAMERA','rtsp','124.67.58.219',554,'内蒙古自治区'],  
				['2017-12-31 21:14:13','呼和浩特','IP_CAMERA','rtsp','124.67.13.186',554,'内蒙古自治区'],  
				['2017-12-27 12:34:54','鄂尔多斯','IP_CAMERA','rtsp','218.202.137.235',554,'内蒙古自治区'],  
			];
		}else if(name == '青海'){
			data = [
				['2017-12-26 01:30:09','海东地区','DVR','https','223.220.154.222',443,'青海'],          
				['2017-12-26 01:30:09','西宁','DVR','dahua-dvr','223.220.174.50',37777,'青海'],          
				['2017-12-26 01:30:09','海东地区','IP_CAMERA','onvif','223.220.162.212',3702,'青海'],          
				['2018-01-14 04:10:18','海西蒙古族藏族自治州','IP_CAMERA','http','111.12.192.104',80,'青海'],          
				['2018-01-14 04:10:18','海西蒙古族藏族自治州','IP_CAMERA','rtsp','111.12.192.107',554,'青海'],          
				['2018-01-14 04:10:18','海西蒙古族藏族自治州','IP_CAMERA','rtsp','111.12.193.106',554,'青海'],          
				['2018-01-14 20:00:13','西宁','NVR','http','111.12.255.194',80,'青海'],          
				['2018-01-14 04:10:18','海西蒙古族藏族自治州','IP_CAMERA','http','111.12.193.153',80,'青海']
			];
		}else if(name == '西藏'){
			data = [
				['2017-12-27 17:19:03','拉萨','IP_CAMERA','http','124.31.143.168',80,'西藏自治区'],    
				['2017-12-27 17:19:03','那曲地区','IP_CAMERA','http','124.31.152.24',80,'西藏自治区'],    
				['2017-12-27 17:19:03','拉萨','NVR','http','124.31.151.8',80,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.155.37',554,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.155.105',554,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.155.103',554,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.154.28 ',554,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.155.231',554,'西藏自治区'],    
				['2018-01-06 12:41:58','拉萨','IP_CAMERA','rtsp','117.136.156.101',554,'西藏自治区']
			];
		}else if(name == '澳门'){
			data = [
				['2017-12-23 19:45:25','澳门特别行政区','IP_CAMERA','http','122.100.171.240',80,'澳门特别行政区'],
				['2017-12-23 19:45:25','澳门特别行政区','IP_CAMERA','http','122.100.168.175',80,'澳门特别行政区'],
				['2017-12-23 19:45:25','澳门特别行政区','IP_CAMERA','rtsp','122.100.225.241',554,'澳门特别行政区'],
				['2017-12-23 19:45:26','澳门特别行政区','IP_CAMERA','rtsp','122.100.172.175',554,'澳门特别行政区'],
				['2017-12-23 19:45:26','澳门特别行政区','DVR','dahua-dvr','122.100.213.239',37777,'澳门特别行政区']
			];
		}
	}
	getResourceList(data);
}

function getResourceList(data){
    $("#ranklistRight3 .tab_content").html("")
    for(var i=0;i<data.length;i++){
        $("#ranklistRight3 .tab_content").append("<tr>"+
                "<td style='width:140px'>"+data[i][0]+"</td>"+
                "<td style='width:60px'>"+data[i][1]+"</td>"+
                "<td>"+data[i][2]+"</td>"+
                "<td>"+data[i][3]+"</td>"+
                "<td style='width:110px'>"+data[i][4]+"</td>"+
                "<td>"+data[i][5]+"</td>"+
            +"</tr>")
    }
}  

$(".cityChange").change(function(){
	$(".tabType li:eq(0)").trigger("click");
    var n = $(this).val();
    if(n =="工业控制设备"){
        $("#ranklistRight3 .tab_content").html("")
        /*mapList(data1)
        optionMap.series[0].data=convertData(data)
        mapChart.setOption(optionMap);*/
        
        //地图展示
        mapData = [
        	{name:'福建',value:4340},
        	{name:'广东',value:4059},
        	{name:'北京',value:2533},
        	{name:'浙江',value:1729},
        	{name:'江苏',value:1575},
        	{name:'山东',value:1178},
        	{name:'上海',value:1150},
        	{name:'四川',value:1110},
        	{name:'湖北',value:938},
        	{name:'广西',value:938},
        	{name:'河北',value:848},
        	{name:'河南',value:786},
        	{name:'辽宁',value:751},
        	{name:'安徽',value:732},
        	{name:'黑龙江',value:646},
        	{name:'天津',value:633},
        	{name:'吉林',value:440},
        	{name:'山西',value:435},
        	{name:'内蒙古',value:419},
        	{name:'湖南',value:415},
        	{name:'陕西',value:402},
        	{name:'江西',value:398},
        	{name:'云南',value:386},
        	{name:'重庆',value:321},
        	{name:'新疆',value:261},
        	{name:'贵州',value:201},
        	{name:'甘肃',value:142},
        	{name:'宁夏',value:119},
        	{name:'海南',value:93 },
        	{name:'青海',value:81 },
        	{name:'西藏',value:38 }
        ];
        
        optionMap.series[0].data= mapData;
        optionMap.visualMap.max = 2557; 
        mapChart.setOption(optionMap);
        iNum=0
        cityShow()
        type="1"
    
        //在线设备省份TOP10
        var yData=['福建','广东','北京','浙江','江苏','山东','上海','四川','湖北','广西']
        var xData=[4340,4059,2533,1729,1575,1178,1150,1110,938,938]
        barEvt(yData,xData,"gyBar1","40");
        $('#ldlx').empty();
        $('#ldlx').append('漏洞类型top10');
        
        //工业互联网在线设备类型
        var color1 = ["#00a9e1","#0046af","#360293","#560081","#af0058","#ff8700", "#09a7e2", "#93dd6e","#fce24f","#b8ff2e","#09e24b","#09e2cb"]
        var pieData=[
            {name:'DTU数据中心',value:799},
            {name:'网关',value:735},
            {name:'可编程逻辑控制器',value:716},
            {name:'操作员站',value:145},
            {name:'企业资源计划系统',value:107},
            {name:'人机交互系统',value:66},
            {name:'集散控制系统',value:40},
            {name:'矿业应用系统',value:39},
            {name:'数据采集监控系统',value:34},
            {name:'远程终端单元',value:24},
        ]
        rightPie(pieData,"gyPie1",10,color1,0);
        
        //设备厂商
        var yData1=['宏电','西门子','和利时','摩莎','罗克韦尔','Tridium','汉科泰软件','思爱普','才茂通信','施耐德']
        var xData1=[897,419,364,289,256,177,164,141,128,114]
        barEvt(yData1,xData1,"gyBar3","70");
        
        var yData=['缓冲区溢出','信息泄露','权限许可和访问控制','授权问题','跨站脚本','其他','SQL注入','路径遍历','代码注入','输入验证']
        var xData=[1902,610,355,273,244,239,227,225,211,190]
        barEvt(yData,xData,"gyRander","70");
        
        var data1st=[
            {name:'高危',value:2307},
            {name:'中危',value:2897},
            {name:'低危',value:470}
        ]
        var color2=["red","#ff8d00","yellow"]
        rightPie(data1st,"gyPie3",3,color2,1)
        
        
    }else if(n =="视频监控设备"){
        $("#ranklistRight3 .tab_content").html("")
        
        mapData = [
        	{name:'江苏',value:61100},
        	{name:'山东',value:53813},
        	{name:'浙江',value:52760},
        	{name:'广东',value:46442},
        	{name:'辽宁',value:36023},
        	{name:'福建',value:28730},
        	{name:'安徽',value:24272},
        	{name:'河北',value:20958},
        	{name:'河南',value:17221},
        	{name:'北京',value:15254},
        	{name:'黑龙江',value:14886},
        	{name:'重庆',value:13440},
        	{name:'吉林',value:13340},
        	{name:'四川',value:13033},
        	{name:'上海',value:10358},
        	{name:'湖南',value:9851},
        	{name:'贵州',value:8024},
        	{name:'江西',value:7832},
        	{name:'湖北',value:7582},
        	{name:'陕西',value:5735},
        	{name:'山西',value:4586},
        	{name:'天津',value:4509},
        	{name:'新疆',value:4391},
        	{name:'云南',value:4059},
        	{name:'广西',value:3907},
        	{name:'海南',value:3474},
        	{name:'甘肃',value:2584},
        	{name:'西藏',value:1760},
        	{name:'宁夏',value:1672},
        	{name:'青海',value:1425},
        	{name:'内蒙古',value:208}
        ]
        
        optionMap.series[0].data=mapData;
        optionMap.visualMap.max =50000  // 10918;
        mapChart.setOption(optionMap);
        iNum=0
        cityShow()
        type="2"
        	
        var yData=['江苏','山东','浙江','广东','辽宁','福建','安徽','河北','河南','北京']
        var xData=[61100,53813,52760,46442,36023,28730,24272,20958,17221,15254]
        barEvt(yData,xData,"gyBar1","40");
        
        var color1 = ["#00a9e1","#0046af","#360293"]
        var pieData1=[
        	{name:'网络摄像机',value:344173},
        	{name:'数字视频录像机',value:63410},
        	{name:'网络硬盘录像机',value:15476}
        ]
        rightPie(pieData1,"gyPie1",3,color1,0);
        
       //设备厂商
       var yData1 = ['海康威视','大华','海思','雄迈','AVTech','风河','深信服','科达','安科数字','天地伟业'];
       var xData1 = [72948,68963,23159,12015,5790,3056,1909,1868,1414,646];
       barEvt(yData1,xData1,"gyBar3","60");
       
       var yData=['弱口令','未授权访问','权限许可和访问控制']
       var xData=[20115,10429,1072];
       $('#ldlx').empty();
       $('#ldlx').append('漏洞类型top3');
       barEvt(yData,xData,"gyRander","70");
       
       var data1st=[
    	    {name:'高危',value:20115},
    	    {name:'中危',value:10429},
    	    {name:'低危',value:1072}
    	]
    	var color2=["red","#ff8d00","yellow"]
    	rightPie(data1st,"gyPie3",3,color2,1)
    }
    ranklistRight2Data(n);
})

ranklistRight2Data('工业控制设备');

function ranklistRight2Data(n){
	var ranklistRight2 = $('#ranklistRight2');
	ranklistRight2.empty();
	var datas = null;
	if(n =="工业控制设备"){ 
		datas = [
			['信息泄露','中危','59.53.167.46'],
			['缓冲区溢出','高危','111.39.37.98'],
			['输入验证','高危','111.198.71.106'],
			['信息泄露','中危','121.227.23.7'],
			['权限许可和访问控制','高危','222.222.34.234'],
			['权限许可和访问控制','高危','222.222.37.242'],
			['权限许可和访问控制','高危','222.222.37.204'],
			['信息泄露','中危','49.73.230.81'],
			['权限许可和访问控制','高危','124.239.129.210'],
			['信息泄露','中危','114.217.93.82'],
			['信息泄露','中危','27.18.145.164'],
			['输入验证','高危','42.87.212.77'],
			['信息泄露','低危','121.61.56.50'],
			['信息泄露','中危','219.231.149.32'],
			['信息泄露','中危','120.12.8.250'],
			['信息泄露','中危','106.85.237.38'],
			['缓冲区溢出','高危','60.168.145.47'],
			['信息泄露','中危','175.152.171.65'],
			['跨站脚本','高危','121.69.128.85'],
			['输入验证','高危','175.6.2.116'],
			['信息泄露','低危','58.211.154.108'],
			['信息泄露','低危','121.30.59.116'],
			['信息泄露','中危','58.19.205.148'],
			['信息泄露','中危','60.164.250.247'],
			['输入验证','高危','221.6.108.14'],
			['输入验证','高危','58.252.106.137'],
			['信息泄露','低危','218.76.55.186'],
			['输入验证','高危','124.164.249.200'],
			['缓冲区溢出','高危','124.17.117.70'],
			['信息泄露','中危','124.16.2.112'],
			['跨站脚本','高危','111.160.4.114'],
			['信息泄露','低危','219.153.199.30'],
			['输入验证','高危','60.20.219.21'],
			['信息泄露','中危','115.217.8.109'],
			['信息泄露','中危','111.72.125.158'],
			['权限许可和访问控制','高危','222.222.34.180'],
			['拒绝服务','高危','119.112.207.130'],
			['信息泄露','中危','101.69.45.173'],
			['拒绝服务','高危','175.171.174.246'],
			['输入验证','高危','117.172.162.26'],
			['权限许可和访问控制','高危','222.222.47.20'],
			['信息泄露','中危','175.162.88.193'],
			['拒绝服务','高危','183.64.175.167'],
			['缓冲区溢出','高危','183.230.40.143'],
			['授权问题','高危','120.36.80.110'],
			['权限许可和访问控制','高危','222.222.36.137'],
			['权限许可和访问控制','高危','219.148.53.158'],
			['权限许可和访问控制','高危','219.148.51.103'],
			['拒绝服务','高危','112.132.249.122'],
			['拒绝服务','高危','119.113.141.49'],
			['信息泄露','中危','125.75.132.88'],
			['跨站脚本','高危','218.201.67.247'],
			['信息泄露','中危','222.74.108.44'],
			['信息泄露','中危','60.14.55.99'],
			['跨站脚本','高危','139.196.83.74'],
			['缓冲区溢出','中危','218.25.171.113'],
			['跨站脚本','高危','60.164.127.105'],
			['信息泄露','中危','221.206.100.7'],
			['缓冲区溢出','中危','180.76.176.35'],
			['跨站请求伪造','高危','218.6.125.101'],
			['跨站脚本','高危','123.150.252.46'],
			['授权问题','高危','222.32.33.123'],
			['信息泄露','中危','183.3.150.182'],
			['权限许可和访问控制','高危','124.239.134.69'],
			['跨站脚本','高危','220.176.108.11'],
			['输入验证','高危','222.175.71.166'],
			['信息泄露','中危','183.26.255.27'],
			['权限许可和访问控制','高危','123.182.241.117'],
			['权限许可和访问控制','高危','124.239.144.131'],
			['权限许可和访问控制','高危','222.222.33.210'],
			['权限许可和访问控制','高危','222.222.34.142'],
			['权限许可和访问控制','高危','222.222.33.242'],
			['权限许可和访问控制','高危','123.182.241.109'],
			['权限许可和访问控制','高危','222.222.36.141'],
			['信息泄露','中危','111.160.243.75'],
			['信任管理','高危','124.165.238.199'],
			['授权问题','中危','218.28.206.6'],
			['信息泄露','低危','124.128.83.150'],
			['信息泄露','中危','115.217.8.62'],
			['信息泄露','中危','106.85.236.183'],
			['信息泄露','中危','221.2.221.22'],
			['信息泄露','中危','101.6.57.24'],
			['缓冲区溢出','高危','60.205.4.34'],
			['输入验证','高危','101.200.153.232'],
			['信息泄露','中危','116.54.115.175'],
			['信息泄露','低危','210.30.68.24'],
			['信息泄露','中危','115.217.8.181'],
			['输入验证','高危','124.88.174.76'],
			['信息泄露','中危','112.241.224.86'],
			['信息泄露','低危','122.96.88.132'],
			['信息泄露','中危','125.80.47.124'],
			['信息泄露','中危','123.158.20.30'],
			['缓冲区溢出','中危','183.230.40.59'],
			['拒绝服务','高危','114.115.209.18'],
			['跨站请求伪造','高危','60.15.18.110'],
			['拒绝服务','高危','121.43.183.103'],
			['拒绝服务','高危','113.234.183.35'],
			['信息泄露','中危','222.91.57.78'],
			['跨站脚本','高危','60.18.234.202'],
			['缓冲区溢出','中危','219.153.49.150'],
			['权限许可和访问控制','高危','61.133.193.42'],
			['信息泄露','中危','119.96.125.21'],
			['信任管理','高危','61.130.115.222'],
			['缓冲区溢出','高危','113.141.65.27'],
			['拒绝服务','高危','119.113.129.169'],
			['跨站脚本','高危','223.94.93.145'],
			['输入验证','高危','222.130.18.215'],
			['拒绝服务','高危','222.42.42.152'],
			['信息泄露','中危','171.212.65.96'],
			['信息泄露','中危','153.34.59.196'],
			['代码注入','中危','125.43.59.219'],
			['信息泄露','中危','183.26.255.248'],
			['信息泄露','低危','117.43.210.166']
		];
	}else if(n == '视频监控设备'){
		datas = [
			['弱口令','高危','123.121.88.228'],
			['弱口令','高危','121.69.38.118'],
			['弱口令','高危','124.193.116.2'],
			['未授权访问','中危','106.120.27.231'],
			['弱口令','高危','106.120.27.231'],
			['弱口令','高危','124.65.84.178'],
			['弱口令','高危','223.209.50.21'],
			['弱口令','高危','106.2.220.59'],
			['弱口令','高危','121.238.18.5'],
			['未授权访问','中危','121.230.231.99'],
			['弱口令','高危','121.230.231.99'],
			['弱口令','高危','115.47.116.64'],
			['未授权访问','中危','49.79.22.167'],
			['弱口令','高危','49.79.22.167'],
			['未授权访问','中危','222.191.211.241'],
			['弱口令','高危','222.191.211.241'],
			['弱口令','高危','58.209.174.109'],
			['权限许可和访问控制','低危','117.82.229.189'],
			['弱口令','高危','60.189.107.244'],
			['弱口令','高危','60.188.75.202'],
			['未授权访问','中危','125.45.82.223'],
			['弱口令','高危','125.45.82.223'],
			['权限许可和访问控制','低危','49.64.43.139'],
			['权限许可和访问控制','低危','49.64.23.141'],
			['弱口令','高危','112.82.60.143'],
			['弱口令','高危','180.114.200.78'],
			['未授权访问','中危','180.122.169.99'],
			['弱口令','高危','180.122.169.99'],
			['未授权访问','中危','114.223.154.200'],
			['弱口令','高危','114.223.154.200'],
			['未授权访问','中危','122.96.228.212'],
			['弱口令','高危','122.96.228.212'],
			['未授权访问','中危','49.70.165.9'],
			['弱口令','高危','49.70.165.9'],
			['未授权访问','中危','122.232.157.15'],
			['弱口令','高危','122.232.157.15'],
			['弱口令','高危','58.208.229.147'],
			['弱口令','高危','49.70.229.239'],
			['弱口令','高危','61.177.89.42'],
			['未授权访问','中危','121.231.16.39'],
			['未授权访问','中危','180.115.117.105'],
			['弱口令','高危','180.115.117.105'],
			['弱口令','高危','117.86.69.229'],
			['未授权访问','中危','180.115.240.82'],
			['未授权访问','中危','218.90.60.213'],
			['弱口令','高危','218.90.60.213'],
			['弱口令','高危','49.69.148.16'],
			['弱口令','高危','218.90.166.241'],
			['弱口令','高危','218.2.67.203'],
			['弱口令','高危','202.136.211.122'],
			['弱口令','高危','58.208.37.174'],
			['弱口令','高危','58.208.36.142'],
			['弱口令','高危','58.208.37.203'],
			['弱口令','高危','49.64.177.177'],
			['权限许可和访问控制','低危','117.62.108.24'],
			['弱口令','高危','117.62.115.57'],
			['弱口令','高危','117.80.123.201'],
			['弱口令','高危','123.66.207.231'],
			['弱口令','高危','114.223.78.37'],
			['弱口令','高危','58.209.180.151'],
			['弱口令','高危','14.125.99.4'],
			['弱口令','高危','14.125.97.35'],
			['弱口令','高危','49.72.34.54'],
			['未授权访问','中危','120.198.63.72'],
			['弱口令','高危','120.198.63.72'],
			['弱口令','高危','60.172.183.195'],
			['弱口令','高危','120.236.6.130'],
			['弱口令','高危','121.228.98.220'],
			['弱口令','高危','180.127.5.216'],
			['弱口令','高危','180.127.5.216'],
			['弱口令','高危','113.17.35.96'],
			['弱口令','高危','221.224.202.162'],
			['弱口令','高危','117.60.210.155'],
			['弱口令','高危','49.75.195.54'],
			['弱口令','高危','121.228.201.118'],
			['弱口令','高危','121.224.118.125'],
			['弱口令','高危','58.215.242.250'],
			['弱口令','高危','211.143.238.174'],
			['弱口令','高危','49.75.101.2'],
			['弱口令','高危','116.231.103.130'],
			['弱口令','高危','116.206.98.172'],
			['弱口令','高危','121.224.118.244'],
			['弱口令','高危','121.224.98.110'],
			['未授权访问','中危','114.229.229.120'],
			['弱口令','高危','114.229.229.120'],
			['弱口令','高危','114.237.208.77'],
			['弱口令','高危','121.224.186.150'],
			['权限许可和访问控制','低危','117.81.66.215'],
			['弱口令','高危','117.81.47.53'],
			['弱口令','高危','153.34.206.232']
		];
	}
	var str = "<table class='tab_content'>";
	for(var i = 0 ; i < datas.length ; i++){
		var lev = datas[i][1];
		var style = "highColor";
		if(lev == '高危'){
			style = "highColor";
		}else if(lev == '中危'){
			style = "midColor";
		}else if(lev == '底危'){
			style = "lowColor";
		}
		str +="<tr>"+
    	"<td>"+datas[i][0]+"</td>"+
    	"<td class='"+style+"'>"+datas[i][1]+"</td>"+
    	"<td>"+datas[i][2]+"</td>"+
    	"</tr>"
	}
	str +="</table>";
	ranklistRight2.append(str);
}